Forums Forums Search & Filter Pro Results page identity incorrect

Viewing 3 posts - 11 through 13 (of 13 total)
  • Anonymous
    #8415

    Okay, your suggestion sort of worked… though it set ALL pages to think it they were a search 🙂

    So I adapted to…

    		if(isset($wp_query->query['sfid']))
    		{
    				$query->is_search = true;
    		}	

    … which sets the search and the appropriate body classes etc so all my layout is correct.

    It didn’t solve the meta Title issue, so I went back to first principles and deactivated all my other plugins, and the Title issue appears to be related to WordPress SEO (Yoast). For some reason it thinks the S&F search results pages is a blog page (not even a search page – as I tried adapting the search meta Title via that plugin and it was ignored).

    Not sure there’s anything you can do about that, so I guess this is just a flag to be aware of that.

    So only S&F issue now is when in AJAX mode the results count doesn’t update… but if I revert to non-AJAX this isn’t a problem so I’ll probably do that, so again just consider that a flag.

    Thanks for all your help on this.

    Cheers
    John

    PS – So you know – the custom template entry was saving okay.
    PPS – When you said the ‘right way would be to modify the template’ what did you mean for future reference?

    Ross Moderator
    #9322

    Hey John

    Just to let you know the next update will have an option to force is_search to true on all searches so feel free to update 🙂

    Thanks

    Ross Moderator
    #9354

    Update is now live – click the advanced tab in “settings & defaults”.

    Thanks

Viewing 3 posts - 11 through 13 (of 13 total)