Support » Plugin: Multiple content blocks » Search results not showing content from Multiple content block

  • Resolved fernandolawl


    I’m using the default search bar that wordpress provides and when I do a search, I noticed that content that is written in the Multiple content blocks, does not show up in the search results.

    Is there a way that I can make the search bar search the content written up in the Multiple content blocks? I can email you my URL if needed.

    Thank you in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Harold Angenent


    You’re right, WordPress doesn’t search post meta. I believe there are several plugins available that do search post meta, but I don’t really have any good experience with them (performance-wise).

    You could also manipulate the WP_Query object to search post meta (using a meta_query). I would advice you to thorougly test performance, since doing this could cause trouble on larger websites.


    Thank you for your reply.

    So do you think this plugin is what I should use to allow WordPress to search post meta?

    Plugin Author Harold Angenent


    I believe writing a small piece of code would be better for your overall project, so I’d recommend manipulating WP_Query (using the pre_get_posts filter).

    I’m not too familiar with that plugin (or any of them) myself, so I don’t know what plugin I would recommend.

    Ok Harold. I will have to research what code to put in. I’m not familiar with how I would code this. Thank you for your recommendations.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search results not showing content from Multiple content block’ is closed to new replies.