Hell Brian,
This is something I wish to develop but frankly I don’t know how. It’s bit beyond my skill level.
When someone clicks on a Like button, based on the Post ID, the count is increased in the database and only the link that is clicked gets updated.
To achieve what you are asking, will require some JavaScript that will check the entire page with Recommend/Like links for the same Post ID and update them as well. So far I have not been able to find a solution yet.
Thanks for the response. I’m a little confused, aren’t you doing what I’m asking on the http://flattrendz.com/ site? Aren’t the counts on the homepage tied to the counts on the individual posts? That’s all I’m trying to do too.
I think the issue with mine is that the automatically assigned ID isn’t the same from the post list to the actual post.
Hello BrianShrader,
Ahh, sorry for the wrong assumption. I thought the content are on same page. What you need should happen by default. If it’s not working then my first guess is that this is happening due to some caching plugin. Can you please share some link that I can test.
How can I privately message it to you? I’m not supposed to show the site to anyone yet, so it would need to be in private.
I’m guessing this isn’t working because it’s using Essential Grid instead of pulling in a list of posts with your shortcode. I just noticed that every like button on the page is called “dot-irecommendthis-47”, so I’m thinking that it thinks it’s for the page itself, not for each individual post.
Hey Harish,
I actually fixed this. I was going to add a custom param to the shortcode, but it already existed! So to fix this issue, anywhere I wanted to add the like button that was NOT a post, I just did it like this:
[dot_recommends id=83]
So then, with any plugin you use to generate your post lists, you can have it dynamically add the post ID. For example, with Essential Grid, you do this:
[dot_recommends id=%post_id%]
Thanks again for the plugin. It’s great.
Hello Brian,
My email is “hello @ dreamsmedia . in”. I’m glad it worked and to be honest I had no clue that custom parameter for ID would work. That said, I’m not sure why you had to use it. If your custom look is proper it should had worked directly. For future reference, would it be possible for you to share the code (WP Query) of the page where this s placed.