' }); }); </script> <?php } ?> <!-- Post info tabs start --> <?php geodir_show_detail_page_tabs(); ?> <?php /** * Called after the tabs section on the add listing preview template. * * @since 1.1.0 * @param object $post The post object. * @see 'geodir_before_post_preview' */ do_action('geodir_after_post_preview', $post); ?> </div> <?php /** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_after_main_content'); geodir_get_template_part('detail', 'sidebar'); ?> </div> </div> <?php get_footer();
/** * Calls and outputs the template for the search page content section. * * @since 1.0.0 * @package GeoDirectory * @global string $gridview_columns The girdview style of the listings. */ function geodir_action_search_content_inside() { global $gridview_columns; $listing_view = get_option('geodir_search_view'); if (strstr($listing_view, 'gridview')) { $gridview_columns = $listing_view; $listing_view_exp = explode('_', $listing_view); $listing_view = $listing_view_exp[0]; } geodir_get_template_part('listing', 'listview'); }
/** * Front-end display content for advanced search widget. * * @since 1.0.0 * @since 1.5.1 Declare function public. * * @param array $args Widget arguments. * @param array $instance Saved values from database. */ public function widget($args, $instance) { // prints the widget extract($args, EXTR_SKIP); echo $before_widget; /** This filter is documented in geodirectory_widgets.php */ $title = empty($instance['title']) ? __('Search', 'geodirectory') : apply_filters('widget_title', __($instance['title'], 'geodirectory')); geodir_get_template_part('listing', 'filter-form'); echo $after_widget; }
/** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_top_content', 'success-page'); /** * Calls the top section widget area and the breadcrumbs on the add listing success page. * * @since 1.1.0 */ do_action('geodir_success_before_main_content'); /** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_before_main_content', 'success-page'); ###### MAIN CONTENT WRAPPERS OPEN ###### /** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_wrapper_content_open', 'success-page', 'geodir-wrapper-content', ''); ###### MAIN CONTENT ###### // this call the main page content geodir_get_template_part('preview', 'success'); ###### MAIN CONTENT WRAPPERS CLOSE ###### /** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_after_main_content'); /** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_wrapper_content_close', 'details-page'); ###### SIDEBAR ###### /** * Adds the add listing success page sidebar to the success template page. * * @since 1.1.0 */ do_action('geodir_detail_sidebar'); ###### WRAPPER CLOSE ###### /** This action is documented in geodirectory-templates/add-listing.php */ do_action('geodir_wrapper_close', 'success-page');