I want to show Likes icon for not logged in user, because i want every visitor from Google will know my site is a social media (not just a common blog/wordpress), I have studied Likes plugin and i dont understand how to do it. any suggestion?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
You must log in to post replies.This line hides it from non-authenticated users https://github.com/Elgg/Elgg/blob/2.2/mod/likes/start.php#L106 because only authenticated users are able to add annotations.
You need to make a plugin that registers plugin hook handler which does the opposite of what's being done in the likes plugin (show a dummy icon for non-authenticated users).