Function Reference: geodir_action_home_sidebar_left
Summary
Build the content for the home page left sidebar via hooks.
Description
Can be enabled/disabled from GD>Design>Home page.
Package
GeoDirectory
Change Log
Since: 1.0.0
Actions
‘geodir_sidebar_left_open’ [Line: 3299]
‘geodir_home_sidebar_left_inside’ [Line: 3305]
‘geodir_sidebar_left_close’ [Line: 3307]
Source File
geodir_action_home_sidebar_left() is located in geodirectory_template_actions.php [Line: 3294]
Source Code
function geodir_action_home_sidebar_left() { if (get_option('geodir_show_home_left_section')) { // this adds the opening html tags to the primary div, this required the closing tag below :: ($type='',$id='',$class='',$itemtype='') /** This action is documented in geodirectory_template_actions.php */ do_action('geodir_sidebar_left_open', 'home-page', 'geodir-sidebar-left', 'geodir-sidebar geodir-sidebar-left geodir-listings-sidebar-left', 'http://schema.org/WPSideBar'); /** * This is used to add the content to the home page left sidebar (if active). * * @since 1.0.0 */ do_action('geodir_home_sidebar_left_inside'); /** This action is documented in geodirectory_template_actions.php */ do_action('geodir_sidebar_left_close', 'home-page'); } }