Hide some search results

Hi! I need to hide some search results in "search" page. I need to show only pages and posts since 2017 to now. How could I do it?

Thanks!

Comments

  • Hi,
    sorry but there is no option to do that. You would have to modify the theme files and add code.
    We do not support such changes.
    thanks
  • Thanks for your reply. Where could I do that? I hace installed some plugins but it modify wordpress native search results. However, search results of betheme appear to be other script search. I need to resolve that.

    Thanks
  • All the search result are controlled by the search.php wordpress file in the theme folder.
    We only add a little bit of code for the search function so it also searches thru the muffin builder.
    thanks
Sign In or Register to comment.