Post Snippets
Searchable Snippet Contents (1 post)

  1. wpuserguydude
    Posted 4 years ago #

    Is there an easy way to make snippet contents searchable using the normal wordpress default search box?

    For example, if my visitors type into the search box, only the content which I have manually typed into pages (and posts) shows up in the search results. None of the contents of my post snippets are searchable.

    I looked in the database and found that all the snippets are actually stored in a single field within the wp_options table. It seems to me that it would be easy to modify the search function to actually search this field, however I can't see a simple way to get the search results to show up with links to the corresponding page or post which contains the search text.

    Thanx in advance to anyone who takes the time to read and reply!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Snippets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic