Function Reference: geodir_action_search_page_title
Summary
Output the search page title including HTML wrappers.
Package
GeoDirectory
Change Log
Since: 1.0.0
Filters
‘geodir_page_title_class’ [Line: 3042]
‘geodir_page_title_header_class’ [Line: 3044]
Source File
geodir_action_search_page_title() is located in geodirectory_template_actions.php [Line: 3029]
Source Code
function geodir_action_search_page_title() { $gd_post_type = geodir_get_current_posttype(); $post_type_info = get_post_type_object($gd_post_type); $pt_name = ''; if(isset($post_type_info->labels->name)){$pt_name=$post_type_info->labels->name;} if (is_search()) { $list_title = __('Search', 'geodirectory') . ' ' . __($pt_name, 'geodirectory') . __(' For :', 'geodirectory') . " '" . get_search_query() . "'"; } /** This action is documented in geodirectory_template_actions.php */ $class = apply_filters('geodir_page_title_class', 'entry-title fn'); /** This action is documented in geodirectory_template_actions.php */ $class_header = apply_filters('geodir_page_title_header_class', 'entry-header'); echo ''; } ' . /** This action is documented in geodirectory_template_actions.php */ apply_filters('geodir_listing_page_title', wptexturize($list_title)) . '