Added the Capability to Search the *Contents* of Blog Posts #865
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By Default, HTMLy searches the content of the filename, only.
Extremely fantastic, and quite functional.
But, there are times when an individual wants to drill-down into their Content, and pull-up something contextual; something pertinent to the discussion, at-hand.
I have been working on this for a while, now. I've learned more about PHP by working with HTMLy than all my two-decades of study.
How does a person search for 'elegant', when--by-default--HTMLy only queries the title (which is "I write on Nature", in this instance)?
One can't in a default installation of HTMLy.
Unless . . . the query dives-deeper!
I have a Post on the matter which highlights the process:
Searching inside HTMLy content
So, it's so . . . Content Search is now a real possibility.
Here is my production HTMLy instance (heavily-modified Doks Theme):
blog
Here is my HTMLy Testing instance:
testing-blog
Give a Search in each, and you'll notice the disparity.
I have 2-5 posts that claim hits outside of the stock Search functionality.
[I also added extras to main.html.php to highlight the search term, and hit-count]
It is my hope that this gets Review and Inclusion ;)