WordPress.org

Ready to get started?Download WordPress

Forums

Process Shortcodes + Search (1 post)

  1. privatestorm
    Member
    Posted 4 years ago #

    I use shortcodes and my own plugin to add LyricWiki lyrics to a web site. Is there a filter to process shortcodes so that the page contents are included in the built-in WP search? Or do I have to use something like a custom Google search which indexes the site after all of the php, html, etc has been processed?

    For example, the body of one of my pages is only [lyricwiki artist="Some Artist" song="Some Song"]
    The page visitor sees a full page lyrics. If they use the built-in WP search for some of words in the lyrics they will get 0 results because in the database all that's displayed is the shortcode.

Topic Closed

This topic has been closed to new replies.

About this Topic