Posting unique results based upon keyword…
-
My website is setup in such a way that some of my category pages have products displayed on them, and I’d like to have “related posts” from other (non product) categories listed in the sidebar. For example, if I have Blue Widgets displayed on a category page, I’d like to show informational posts about Blue widgets from other categories. On the Red Widget page, I want to display informational posts about Red Widgets. There are multiple product pages that I want to display related posts on. I hope that makes sense…
To accomplish this, I thought I could use the “Get posts from this search” feature and set the search term to either the category slug or page title of that page. So on the Blue Widget page, the plugin would use the title “Blue Widgets” as the search term and post those results on the page.
I searched the forum and read that you could use %s in the search term field, but the results aren’t very accurate. I’m assuming it’s searching for the term “blue widgets” in the post content (rather than title) and returning all the results.
Are there other functions I can use to return related posts, or is there another way to make the results more accurate?
THANKS FOR YOUR HELP!
- The topic ‘Posting unique results based upon keyword…’ is closed to new replies.