Home Forums WTI Like Post PRO GetWtiLikePost larger, clickable avatars

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #519
    stonerowdesign
    Participant

    I am using WTI Like Post Pro. I have inserted the {GetWtiLikePost();} code inside the page of the post types that I would like to show the list of users who have liked the post. My question is,

    1. How do I modify the code attached to the “{GetWtiLikePost();}” to make the users’ avatars clickable, so it will redirect to the users profile?

    2.How would I make the avatars larger?
    Inspecting the element, they currently display as 32×32

    3. Is it possible to have the users’ displayname appear under their avatar? How would I achieve that?

    Any help on this would be greatly appreciated.

    Thanks!

    #524
    Webtechideas
    Keymaster

    We will get back to you on this tomorrow.

    #525
    Webtechideas
    Keymaster

    Hi,
    You need to look into the function GetWtiUserLikes inside wti-like-post-pro.php file.

    1. There is a filter wti_like_post_user_profile_link available for which you need to attach a function. In that function you can link the avatar with the profile page.

    2. You can see the function get_avatar. The 2nd parameter is for the avatar size so you can put any value which is appropriate for you.

    3. It does not seem possible with the existing code as it may break the layout but you can still try modifying the above function.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘WTI Like Post PRO’ is closed to new topics and replies.