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 Page title says blog

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Rena Reich
    #47014

    I have a search filter on my homepage. When a user uses the search, it takes them to a page that uses blog in the title:

    <title>Blog – Get Help Israel</title>

    You can see what I mean here: http://gethelpisrael.com/

    When a user uses the general site search, the title is:

    <title>You searched for whatever the search text is – Get Help Israel</title>

    Thanks!

    Trevor Moderator
    #47016

    What Display Results method are you using?

    Rena Reich
    #47021

    I have it set to display as an archive. It is using search.php.

    Thanks!

    Trevor Moderator
    #47085

    Can I ask what theme you are using?

    Rena Reich
    #47099

    We are using Pivot theme.

    Thanks

    Trevor Moderator
    #47101

    OK, the first attempt to fix involves adding code to the theme’s functions.php file. It would be best if you had a child theme, as this is a safer method.

    The code you can try is this:

    add_filter('wp_title','search_form_title');
    function search_form_title($title){
      global $searchandfilter;
      if ( $searchandfilter->active_sfid() == 35889) {
        return 'Search Results';
      } else {
        return $title;
      }
    }

    Change the id number for the one for your form.

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

The topic ‘Page title says blog’ is closed to new replies.