I am using the Facebook comments plugin but then it shows up above the built in social share buttons of enfold.
I would like to add this code:
echo do_shortcode('[fbcomments]');
so that it shows up underneath the social share buttons.
Any idea how to do this?
Hey alvinhy!
Please go to Enfold/includes folder and open helper-social-media.php file and find
$this->html .= "";
$this->html .= "</div>";
return $this->html;
}
and add your code right below it
Cheers!
Yigit
I added the code underneath the code at around line 245 and the page turns blank.
echo do_shortcode(‘[fbcomments]’);
Hey!
Please undo the changes above then look for this code on line 257:
if($echo)
{
echo $icons->html();
}
Replace it with:
if($echo)
{
echo $icons->html();
echo do_shortcode('[fbcomments]');
}
Please create a change log of this modifications in case you update the theme.
Cheers!
Ismael
Hello,
The comment box shows now but somehow it is overlapping the sociial icons.
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.fb-comments.fb_iframe_widget.fb_iframe_widget_fluid {
position: relative;
top: 90px;
}
Best regards,
Yigit
Thanks Yigit! You are amazing, works like a charm.