• Hello, I would like to add a Follow Button for WordPress.com Account in my website.

    I have tried to generate the Follow Button from:

    https://developer.wordpress.com/docs/follow-button-creation/

    The code that I got is:

    <a class="wordpress-follow-button" data-blog="https://elysianpit.com" data-lang="en">Follow Elysian Pit on WordPress.com</a><script type="text/javascript">(function(d){var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT');p.type = 'text/javascript';p.async = true;p.src = '//widgets.wp.com/platform.js';f.parentNode.insertBefore(p,f);}(document));</script>

    But, when I copied the code to Custom HTML Widget, the button doesn’t appear. May I ask for help with this, because I am quite confused as to why the button doesn’t appear even though I have followed the exact step. I also have checked that the JSON API module is active.

    • This topic was modified 1 year, 7 months ago by ryeuree. Reason: Added the given Custom HTML
    • This topic was modified 1 year, 7 months ago by Jan Dembowski.
    • This topic was modified 1 year, 7 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I can see your button, top right of the sidebar. Try viewing your page in a private browsing mode like incognito, or clearing your browser history.

    Thread Starter ryeuree

    (@ryeuree)

    Thank you for your reply. I may have several more questions regarding this.

    I did try it in several browser, Mozilla does show the button instantly while Chrome and Opera sometimes do sometimes don’t. When it doesn’t appear, I tried smashing clicks near the supposed Follow Button then it appears (sometimes, while sometimes I clicked many times and there is no indication for the button to appear).

    I then tried to click the button, but the button doesn’t let me follow the website? It’s still show Follow Elysian Pit and doesn’t change to Following Elysian Pit. My Subscrubers count also doesn’t increase nor does it shows new follower.

    I also tried to follow manually from WordPress Reader, but I got an error of “Sorry, there was a problem following https://elysianpit.com. Please try again.”

    Is the problem not only on the Follow Button if I can’t even follow from WordPress Reader?

    Thread Starter ryeuree

    (@ryeuree)

    Oh, nevermind, following from WordPress Reader works just fine, but following from the button doesn’t work.

    Thread Starter ryeuree

    (@ryeuree)

    After some testing again, I found that if I have followed the website from WordPress.com Reader manually, the “Follow” will change to “Following” when I clicked it. But, if I haven’t and tried to follow the website using the button, the “Follow” will always remain as “Follow”, in extend, I can’t automatically follow my website using the button even tho the button will redirect me to login to WordPress.com.

    I’m not sure what the issue is sorry, it looks like you followed dthe instuctions for external sites here: https://wordpress.com/support/follow-button/

    I would suggest asking for help in the Jetpack forum as someone may have had a similar experience https://www.ads-software.com/support/plugin/jetpack/

    Thread Starter ryeuree

    (@ryeuree)

    I see, thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help with “Follow” Button’ is closed to new replies.