Styled Facebook Like Box
Small error (3 posts)

  1. Dinho78
    Posted 3 years ago #


    There's a small error in the plugin where the second closing div is missing. It should be:

    // Output the widget in the sidebar
    function styled_facebook_like_box($title, $profile_url, $width, $height, $faces, $border_color, $background_color, $stream, $header, $style_code){
    	//Insert the styled Like Box
    	echo "<div id='fb-root' class='widget widget_facebook_like_box'><div class='fb-like-box' data-href='$profile_url' data-width='$width' data-height='$height' data-show-faces='$faces' data-border-color='$border_color' data-stream='$stream' data-header='$header' style='background-color:$background_color;";
    	if ($style_code)
    		echo $style_code;
    	echo "'></div></div>";


  2. Ruud Evers
    Posted 3 years ago #

    The error is still there and it seems the plugin hasn't been updated for a while. Hopefully the author still has plans to update it and fix this error, since it is my favorite Facebook plugin.

  3. karenalenore
    Posted 2 years ago #

    Any word yet on when this will be fixed. I tweaked the code myself to fix it and it works great. But I don't want to keep using the plugin on new sites with this obvious error if the plugin is no longer supported. Anyone?

    Works if I change it to:

    echo "'>";

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Styled Facebook Like Box
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.