Hot answers tagged

1 vote

Search page doesn't recognise post_type=page

I found a solution in this answer here: https://stackoverflow.com/questions/63678063/wordpress-search-filtering-pages-and-posts I customised the function as follows: function page_search_filter( \...
evilscary's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible