WordPress.org

Ready to get started?Download WordPress

Forums

Styled Facebook Like Box
Small error (3 posts)

  1. Dinho78
    Member
    Posted 2 years ago #

    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/

  2. Ruud Evers
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.