Tagged: Facebook Widget
Hello,
How do I remove the section with the small images of people and the text ‘you and # of people’ like this’ from the widget?
Thanks!
Hey Cynthia45,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
Jordan
Hi Jordan,
I’ve put the link in the private section. The Facebook like widget is in the footer.
Thanks for your help :)
Cynthia
Hi,
This is possible but you have to modify one of the parent theme files. Edit the framework > php > class-framework-widgets.php file. Look for this code around line 62:
echo "<div class='av_facebook_widget_wrap {$extraClass}' {$style}>";
echo '<div class="fb-page" data-width="500" data-href="'.$url.'" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"></div></div>';
Set data-show-facepile attribute to false. Or remove the theme’s facebook widget and replace it with a text widget. Generate the facebook likebox script here. https://developers.facebook.com/docs/plugins/page-plugin
Best regards,
Ismael
Thanks Ismael! This is wonderful :)