• Hi,

    is it possible to add a individual simple like button to every gallery?

    So far I have this code, used for another plugin, called like this, but is not supported anymore:

     <?php if(dt_theme_is_plugin_active('roses-like-this/likethis.php')): ?>
    
                            <div class="views">
    
                                <span><i class="fa fa-heart-o"></i><br><?php printLikes($post->ID); ?></span>
    
                            </div>
    
    					<?php endif; ?>

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor LikeBtn Support

    (@likebtn-support)

    Hi!

    Yes, it’s possible. Your old code will not work, because it was written for another plugin. In general, you will need to
    – install our plugin;
    – generate the shortcode;
    – put the shortcode into the template, using the “do_shortcode” function.

    Thread Starter Agramonis

    (@agramonis)

    Oh, thank you, didn’t think about that option, I will give it a try, btw, very nice plugin.

    Thread Starter Agramonis

    (@agramonis)

    Hi, me again.

    Ok, I managed to display the like icons, like you can see in this link https://bodyfit-beta.webillusions.info/galerie/, but:

    – if I click like and I want to dislike it immediatley, it doesn’t work, I recognized, if I like another gallery and then try to dislike the previous liked, it works
    – the popup after liking is behind the div, I’ve seen it has already a high z-index, I played around with the css, but can’t get it to show properly

    ty

    Plugin Contributor LikeBtn Support

    (@likebtn-support)

    Hi!

    1. We can’t reproduce the problem because none of the “dislike” buttons are displaying now. The ‘like’ and ‘cancel like’ actions are works correctly.

    2. The issue is in your ‘portfolio’ class (one of the parent divs has it). Set its ‘overflow’ style to ‘visible’ instead of ‘hidden’.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Like Button for every gallery’ is closed to new replies.