View Full Version : How to display the like button in a div on page template?

04-15-2014, 08:33 PM
I dont undestand how to display the like button in my page template. An example would be very helpful. Thank you.
<div id="like-system"> </>

04-16-2014, 05:06 AM
Install the plugin http://wordpress.org/plugins/likebtn-like-button/ and enable it for posts.

You can also use the shortcode: http://likebtn.com/en/wordpress-like-button-plugin#shortcode

If you want to in insert the LikeBtn into the post PHP template, you can use the likebtn_post() function:

<?php likebtn_post(); ?>

And you can insert LikeBtn HTML code manually into your PHP template, use generator to get the code http://likebtn.com/en/#code_generator and make sure to form the idenfitier properly http://likebtn.com/en/wordpress-like-button-plugin#identifier in order to be able to get statistics on likes in future.

11-23-2014, 11:02 PM
This code not support lang.

11-24-2014, 06:14 AM
Could you please provide the code you are using.