• Does anyone know how I could exclude bits of text on a post from showing up on the internal WordPress search? It’s throwing up irrelevant results. Perhaps enclosing such text in <div class=exclude> for example then somehow telling wordpress search to ignore anything inside that div?

    Is that possible? I just want to make it easier for the users to find what they are looking for. Also, how do you apply ‘noindex’ to wordpress posts/pages? That’s a separate thing so my question is twofold:

    *How do I exclude PARTS of posts from WP search?
    *How do I exclude whole pages/posts from WP search?

  • The topic ‘Excluding Unwanted Text from WordPress Search’ is closed to new replies.