WordPress.org

Ready to get started?Download WordPress

Forums

Convert [caption to html (3 posts)

  1. mym6
    Member
    Posted 3 years ago #

    I'm in the process of modifying the solr-for-wordpress plugin to suit our needs. We need to be able to index all of the posts in our multisite wordpress install (over 2k blogs) so that we can then search for posts tagged with a certain tag. We use this data on a different site. Originally we were using the tag RSS feed for each site but it's just too slow. Enter solr.

    I'm experienced with PHP but new with wordpress and I'm having some trouble figuring how to get post content that is at least similar how the RSS feed would look into solr. That is, I need it to be stripped of the HTML tags and specifically special tags like [caption]. Is there a function or filter that can do this for me?

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

  3. mym6
    Member
    Posted 3 years ago #

    Perfect! Thanks alot.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.