Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1294073
    joshnwarren
    Participant

    I’m wondering if there’s a way to remove all blog posts from the sites search results and keep actual pages. I’d like it to do it automatically but I don’t know where to start really.

    I was looking at instructions on this site but I wasn’t sure if this was the best way to do it.

    The site I’m trying to do this on is: http://www.northstateoutdoors.com/

    The search bar code on the homescreen is:

    <form role="search" method="get" id="searchform" class="revtp-searchform" action="http://northstateoutdoors.com"><input type="text" value="" name="s" id="s" placeholder="What are you looking for?" /><input type="submit" id="searchsubmit" value="Find" /></form>

    #1294079
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! You may try a plugin for that (https://wordpress.org/plugins/better-search/).

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1294073 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>