Home Forums WTI Like Post PRO Prompt unlogged in user to login

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #357


    Is there a way to prompt user to login when user click to like/unlike? Instead of just showing “Please login to vote”.

    I already have UserPro plugin that can display login modal form for user login by doing something like this:
    <span> Login </span>

    Do you think is there a way to fire up this login modal form when unlogged on user try to click like/unlike?



    It should be something like this: “<span> Login </span>”


    You need to check with the other plugin how to trigger the login modal to come up on clicking the like/unlike buttons. They must be having a function to be called to show the login pop up. You will have to track this in the javascript file that comes with our plugin and implement the same there.

    You can also put html code there in the setting Login required message like Please <a href='#' class='popup-login'>Login</a> to vote. This class='popup-login' is as per the documentation of the other plugin you referred.

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