WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Flattr] Button not showing up

[Plugin: Flattr] Button not showing up

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not a 100% sure if this is the same problem but…

    The dynamic button isn’t showing up in my posts (There is a div with a link, but its display:none;)

    If I set the button-type to static button everything works fine. I suspect, that the plugin’s js is not imported into the theme. But up to now I had no time to confirm this.

    Plugin Author VoxPelli

    @voxpelli

    @corelgott: Your theme needs to include the wp_footer() method to have the javascript printed as it’s for performance reasons included at the end of the page. The included script should then look like:

    <script type="text/javascript">
      (function() {
        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
        s.type = 'text/javascript';
        s.async = true;
        s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
        t.parentNode.insertBefore(s, t);
      })();
    </script>

    Mine’s not showing up either and the script is there, however it’s only an issue with firefox it seems?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Flattr] Button not showing up’ is closed to new replies.