Support » Plugin: Like Button Rating ♥ LikeBtn » Like button in the loop of users

  • Resolved The-Rock



    I have custom plugin which shows a loop of users via shortcode. Each user have hover card. Is it possible to display this like button for each user?

    View post on

    Here is the code which shows the hover card and text in it.

            var self = jQuery(this);
            var img = self.find('img');
            var txt = img.attr('title');
            var src = img.attr('src');
            content: jQuery('<img src="'+src+'" width="160" height="160" class="user-img" /><div class="user-info">'+txt+'</div>'),
    		interactive: true,

    I was wondering it’s possible to add an extra variable for like button and then print it in the content?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Like button in the loop of users’ is closed to new replies.