PDA

View Full Version : Add like button to each post on a blog list page



danielcharles
09-17-2015, 11:18 PM
6868

I see the option for adding a like button to the blog list but that just creates one like button for the entire list. Is it possible to have a like button on each blog post in the excerpt area? For example if the like button could appear right above the date in each blog post excerpt as seen in the attached picture.

LikeBtn
09-18-2015, 07:52 AM
What WP theme are you using and how are you displaying the list of posts?

danielcharles
09-18-2015, 05:09 PM
What WP theme are you using and how are you displaying the list of posts?

I am using the Bridge theme and the blog list is an object called Masonry Blog List.

LikeBtn
09-19-2015, 01:28 PM
The problem is in theme. We will try to find a solution.

LikeBtn
09-19-2015, 02:05 PM
You need to do the following:
1) Open /wp-content/themes/bridge/templates/blog_masonry-loop.php template.
2) Insert the following code where you want like button to be:

<?php likebtn_post(); ?>

For example after

<?php qode_excerpt(); ?>