Support » Fixing WordPress » How find text within Post (or Page) content on whole site

  • Wondering if there is an *easy* way for a non-techie to be able to search all of the text in the content of all Posts (or Pages) content to find where there are certain text strings.
    I don’t necessarily want to replace them, I just want to find what Post/Pages they are on so I can fix them if needed. Like if the word “Holiday” appears, I want to be able to quickly find the couple of Posts/Pages where it does (I can search within the text on the Post/Page after that). I don’t need to be able to search title, comments or metadata or anything else.
    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    One way which I don’t think is 100% fool proof is just to use the Search widget that comes with WP core. Just add to the side bar.

    You can enclose text strings in quotation marks.

    I say its not 100% foolproof because I find it does not find all text in all pages.

    There are also search plugins and search and replace plugins.

    provide ‘s’ in your WP-query like

    $args = array(
    ‘post_type’ => array(‘post’, ‘page’, ‘careers’, ‘blog’, ‘news’ ),
    ‘orderby’ => ‘title’,
    ‘order’ => ‘ASC’,
    ‘meta_tag’ => ‘brand’,
    ‘compare’ => ‘LIKE’,
    ‘paged’ => $paged

    Where can I find the text on my blog? I’ve been trying without success to transfer it from my .org account to my new account. I thought if I could at least find the text I could have that and re-create the rest of the pages and posts. Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How find text within Post (or Page) content on whole site’ is closed to new replies.