• Hello,
    I want to just allow favorite saving to registered users, but when I disable anonymous favorites, the unregistered users can’t see the button Favorite!

    I want the button to been seen by all users, but when non registered click it should say, “please login to add was favorite.”

    Is it possible?

    Thank You.
    regards

    https://www.ads-software.com/plugins/favorites/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Carlsaint

    (@carlsaint)

    Hello,
    know one had the same need?
    Plugin author, is this feature/hack possible to do?

    I’ve been testing other plugin (Wp-favorites) and it shows a message if a non-registered user clicks to favorite the post (please login to save favorite). But it’s not as good as this one, as i’ve already shape it the way I want and it’s css better friendly.

    Can anyone help (if possible)?

    Thanks

    Plugin Author Kyle Phillips

    (@kylephillips)

    RE: button being visible to non-registered users…
    If you’ve disabled favorites for anonymous users under Settings > Favorites > Users, and the button is still showing up, I’m guessing you have caching enabled. If you delete your cache and visit the effected pages as a non-registered user, you should be good to go.

    RE: disabled buttons/custom text for non-logged in users…
    This is something you could do in your template. Do a basic is_user_logged_in() check, and if they are show the button using the template function the_favorites_button(). If not, you could display the required messaging/UI.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Button visible to non registered users’ is closed to new replies.