Title: [Plugin: Styled Facebook Like Box] Small error
Last modified: August 20, 2016

---

# [Plugin: Styled Facebook Like Box] Small error

 *  [Dinho78](https://wordpress.org/support/users/dinho78/)
 * (@dinho78)
 * [14 years ago](https://wordpress.org/support/topic/plugin-styled-facebook-like-box-small-error/)
 * Hi,
 * 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>";
       }
       ```
   
 * [http://wordpress.org/extend/plugins/styled-facebook-like-box/](http://wordpress.org/extend/plugins/styled-facebook-like-box/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Yakti-R](https://wordpress.org/support/users/yakti-ruud/)
 * (@yakti-ruud)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-styled-facebook-like-box-small-error/#post-2773441)
 * 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.
 *  [Karena Kreger](https://wordpress.org/support/users/karenalenore/)
 * (@karenalenore)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-styled-facebook-like-box-small-error/#post-2773469)
 * 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 "'>";
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Styled Facebook Like Box] Small error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/styled-facebook-like-box.svg)
 * [Styled Facebook Like Box](https://wordpress.org/plugins/styled-facebook-like-box/)
 * [Support Threads](https://wordpress.org/support/plugin/styled-facebook-like-box/)
 * [Active Topics](https://wordpress.org/support/plugin/styled-facebook-like-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/styled-facebook-like-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/styled-facebook-like-box/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Karena Kreger](https://wordpress.org/support/users/karenalenore/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-styled-facebook-like-box-small-error/#post-2773469)
 * Status: not resolved