Button not showing up (4 posts)

  1. Henrik Schack
    Posted 4 years ago #

    Hmm there is no way I can make this plugin show the Flattr button.
    Does anyone have a step-by-step setup guide for dummies please ?


  2. Corelgott
    Posted 4 years ago #

    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.

  3. VoxPelli
    Plugin Author

    Posted 4 years ago #

    @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);
  4. AHSC
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flattr
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic