Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Trying to change Search Results title

Viewing 4 posts - 1 through 4 (of 4 total)
  • Art Munson
    #223507

    Hi Trevor,

    Trying to change Search Results title and used the below code but not working. In Template options I have this: https://artandrobinsmusic.com/search-results/

    What did I miss?

    Thanks

    Art

    
    add_filter('wp_title','search_form_title');
    
    function search_form_title($title){
     
     global $searchandfilter;
     
     if ( $searchandfilter->active_sfid() == 37062)
     {
     return 'Music Store';
     }
     else
     {
     return $title;
     }
     
    }
    Trevor Moderator
    #223510

    In the case of pages, the name of the page is the Title. All you need do is change the page Title in the WordPress Page Editor.

    Art Munson
    #223514

    Duh, got it. Leave it to me to make it harder than it really is.

    Thanks Trevor!

    Trevor Moderator
    #223518

    Thanks for letting me know. I will close this thread for now.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Trying to change Search Results title’ is closed to new replies.