Automatic search based on post tags?
-
Hi there! Nice plugin, thank you so much for the time taken to develop it and for your support! I’ve been looking through the other threads and its amazing ??
I’m trying to add an Amazon widget to my site in the hope that someone will ever maybe buy a book. Right now my blog has quite a small audience but I’ve a good deal of post.
I tried setting the thumbnail shortcode in the sidebar and add some links to a test post and it works, the problem is that going back and populating aaaaall the old posts would be quite time consuming, not sure if worth the effort considering most of them are visited maybe once in a week.
I thought that I could add a condition in the widget sidebar so that if the post does not match a certain condition (category, has a tag, etc) it loads a predefined widget with maybe my favourite books, wishlist or a single book that I think has the most chances to be bought.
But even like this, I should tag from now on all the posts that have a certain tag. Using a category to decide would be easier but I don’t like that approach.
What it would be cool is just let the Widget do an Amazon search by one or all the tags of the post automatically so hopefully it would return a result that will be more or less relevant to the current post. So if I do not want to invest any time in managing the products for a post it’ll still show something at chance.
I did that a year ago on an ASP project and seemed to work quite well, results were more or less relevant.
Could it be possible to do something like this with this plugin?
Ie:
[amazon text=tag1,tag2,tag3&template=Thumbnail&live=1]
And in the template something with %POST_TAGS% that would read the tags from the post (tag1,tag2,tag3 etc) and feed them into to the widget for a search?
Maybe this is already possible somehow and I didn’t realize, sorry if that is the case!
- The topic ‘Automatic search based on post tags?’ is closed to new replies.