WordPress.org

Ready to get started?Download WordPress

Forums

LikeBtn Like Button
[resolved] Change the position of buttons (13 posts)

  1. mibo5
    Member
    Posted 2 months ago #

    Hi there, really nice plugin!
    I want to show the like & dislike buttons in the footer of my posts, I could not find this ability in the control panel. Please check the following screen shot:

    http://www.uploadax.com/images/61694090731729647356.png

    Best Regards

    https://wordpress.org/plugins/likebtn-like-button/

  2. likebtn
    Member
    Plugin Author

    Posted 2 months ago #

    What WordPress Theme are you using?

  3. mibo5
    Member
    Posted 2 months ago #

    Hello dear author, this one:
    http://themeforest.net/item/goodinc-flat-responsive-wordpress-blog-news-theme/5285055

    I found the footer position of posts, But I don't know what PHP codes should be inserted into content.php file.

    I tried this:

    <?php $post_custom = get_post_custom( get_the_ID() ); ?>
    Likes: <?php echo (int)$post_custom['Likes'][0]; ?> |
    Dislikes: <?php echo (int)$post_custom['Dislikes'][0]; ?>

    But only stats of like and dislike hinting appears.

    Thanks

  4. likebtn
    Member
    Plugin Author

    Posted 2 months ago #

    Try this:
    <?php likebtn_post(); ?>

  5. mibo5
    Member
    Posted 2 months ago #

    Hello, Just this code?

    <?php likebtn_post(); ?>

    I think It's too tiny and a "larger Box" is needed for it :)

    It did not work... Could you please give me another solution?

    Best regards

  6. likebtn
    Member
    Plugin Author

    Posted 2 months ago #

    Do the following trick:
    1) Add the following code:
    <?php likebtn_post(); ?>
    2) Enable LikeBtn for posts and configure the button on the plugin Buttons tab.
    3) Disable LikeBtn for posts.

  7. mibo5
    Member
    Posted 2 months ago #

    Wow :) Resolved.... Thanks a lot for your kindly help ... Regards

  8. mibo5
    Member
    Posted 2 months ago #

    Excuse me... The buttons appear in the footer of posts, But I can not change the style of them!

    The style of buttons control by this file:
    http://w.likebtn.com/css/w/widget.css

  9. likebtn
    Member
    Plugin Author

    Posted 2 months ago #

    Are you trying to change the style of the button on the Buttons tab of the plugin or using CSS?

  10. mibo5
    Member
    Posted 2 months ago #

    I changed the options via Tabs in panel, but the like and dislike buttons in the footer of posts did not change! as I mentioned before...

    The style of buttons control by this file:
    http://w.likebtn.com/css/w/widget.css

    regrads

  11. likebtn
    Member
    Plugin Author

    Posted 2 months ago #

    You need to:
    1) Enable LikeBtn for posts and set style on the plugin Buttons tab.
    2) Disable LikeBtn for posts.

    Have you done this?

  12. mibo5
    Member
    Posted 2 months ago #

    I did these things, but the style of footer buttons that added by this code:

    <?php likebtn_post(); ?>

    did not change! The style of this section is not controlled by the panel.

    Never mind! The current style (default style) of buttons is beautiful.

    I appreciate you;

    Best Regards

  13. likebtn
    Member
    Plugin Author

    Posted 2 months ago #

    Enjoy

Reply

You must log in to post.

About this Plugin

About this Topic