Search for text within unpublished drafts (body text, not titles)
-
Hi, everyone!
I’d like to be able to search for a word that’s contained in one of my post drafts. However, when I search, it only seems to be searching through the text within the *titles* of my posts, not the actual body of each post.
Can anyone help?
Thanks so much!
jeremyThe blog I need help with is: (visible only to logged in users)
-
Hi jeremy,
WordPress.com doesn’t have such a search feature, but most if not all browsers have a Find tool that allows you to search an open page for a word. The WikiHow page How to Search for a Word on a Webpage describes how to open and use the Find tool on most browsers on a Windows or Mac operating system, without knowing where the link to the tool is to be found in the browser’s toolbox.
See also the following browser support pages:
Firefox – How to search the contents of the current page for text or links
Google Chrome – Search the web on Chrome (see the Search within a webpage section), or Find Bar – The Chromium Projects
doc
-
Doc–
I should clarify: What I’m hoping to be able to do is search through all 229 of my drafts for a single word. I know how to search within an open page, but I unfortunately won’t have the post page open, because I don’t know which post contains the term. I want the search to say something like: “We’ve found that word in the following 3 post drafts.”
Does that make sense?
Thanks so much for all of your help!
Jeremy -
You’re welcome! Thanks for the clarification. The second part of the WikiHow page is titled Searching a Site with Google. The description of this method says:
You can use Google to perform searches of all of the pages on a website. This can help you find matching words on large or complex websites.
However, part 4 of that method says:
Google will return any pages that match your search, but it won’t point you to the matching text once you open the page. You’ll need to use the Find tool to jump to where the word occurs on the page.
There may be other methods that I’m aware of. Hope that helps. : -)
Regards,
doc -
-
Thanks again, doc. Couldn’t get it to work (maybe because it’s a secure https page which requires me to be logged in to even see).
That said… I couldn’t even get it to work using their example query. I’m using Chrome.
Thanks again for your help — I’ll keep searchin’!
p.s. Are you a physician (based on your username)? If so, I am, too!
-
I hadn’t tested it before, but now that I have I’m getting inconsistent results using words found in posts on your site. Examples:
unsuccessful (word=audacity, from the May 11 post)
successful (word=optimally, from the January 17 post)
unsuccessful (word=delegate, from the January 17 post)
I’ll call for staff attention. Staff will respond here.
p.s. Not a real doc, just using it as a handle.
-
Hi there,
Have you tried using the search feature on the posts page in WP-Admin?
https://hyperassociate.wordpress.com/wp-admin/edit.php
That searches post content, and returns results for all posts, no matter their status.
Re using Google to search a site, that will only work on content on a site that is public, and already indexed by search engines. It will not return any results for unpublished drafts, as that content is not accessible to Google in any way.
-
Have you tried using the search feature on the posts page in WP-Admin?
Forgot about that option too. That combined with the Find tool might do the trick. Thanks. : -)
-
-
You’re welcome. : ) But I totally goofed on this one. The funny thing is, @kokkieh’s suggestion is exactly what I would have done automatically on one of my own sites without thinking about it.
- The topic ‘Search for text within unpublished drafts (body text, not titles)’ is closed to new replies.