• The compact button is not shown in the Widget, even if selected in the widget options. I found the reason:

    Inside the flattrwidget_widget() function, the wrong option name is passed to get_option(). Here is a quick diff that solves the problem:

    — flattrwidget.php_orig 2010-12-10 14:44:21.033983160 +0100
    +++ flattrwidget.php 2010-12-10 14:44:33.273976181 +0100
    @@ -111,7 +111,7 @@
    $uid = get_option(‘flattr_uid’);
    $cat = get_option(‘flattr_cat’);
    $lang = get_option(‘flattr_lng’);
    – $button = get_option(‘flattrwidget-compact’)? “compact”: “default”;
    + $button = get_option(‘flattr_compact’)? “compact”: “default”;

    $category = $cat;
    $title = get_bloginfo(‘name’);

    http://wordpress.org/extend/plugins/flattrwidget/

  • The topic ‘[Plugin: Flattr Widget]: The 'compact' Flattr button doesnt not work’ is closed to new replies.