Tagged: blog post grid, social buttons
Hi,
I would like to have a blog post grid with social buttons (the “share this entry” functionality) in each element of the grid (every element of the grid would be: thumbnail, then below, title, and then below, the social buttons).
I’ve managed to actually set the “Share this” toolbar on its desired place, but it does not work properly, because no matter which element of the grid you choose, the URL “to be shared” remains always the same.
What I’ve done is, in postslider.php, after the “header” closing tag, line 375
$output .= '</header>';
$output .= avia_social_share_links(array(), false); // I added this
$output .= '<div style="height:1px; margin-top:50px;" class="hr"></div>'; // I added this
Is there any way to pass the post’s correct URL as an argument to avia_social_share_links?
Or a better way to achieve what I want?
Any help would be really appreciated, thank you very much :-)
Hey rubendeveloper!
Thank you for using Enfold.
I’m sorry but this is not possible without modifying the share function. Regretfully, this falls beyond the scope of support. Please use third party plugins or hire a freelance developer to modify the function for you. You can try the following social plugins:
http://www.sharethis.com/#sthash.Jfx4jyH4.4gZFwL33.dpbs
https://wordpress.org/plugins/socialize/
Regards,
Ismael