Follow WordPress button
-
Hi, I’ve been trying to embed a WordPress follow button on my main sidebar but keep getting an HTML error.
The code I got from the official WordPress button generator is as follows
Follow The Quotex on WordPress.com
(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));Please let me know how to proceed.
Thank you.The blog I need help with is: (visible only to logged in users)
-
Hi theequotex,
The code you are using contains Javascript, which isn’t supported on the Premium plan or below for security reasons:
Visitors logged in to WordPress.com will automatically see a Follow button at the bottom right of your site. Anyone without an account can click on that button and follow by email:
https://en.support.wordpress.com/following/#if-you-do-not-have-a-wordpress-com-account
The Follow Blog Widget may be useful if you want to include a follow option in the site sidebar.
-
So you’re saying there’s no way for me to include the blue wordpress follow button on my sidebar?
-
You can include our built in option which is the Follow Blog Widget.
See here: https://en.support.wordpress.com/widgets/follow-blog-widget/
-
-
Yes, the widgets can be ordered to the desired positions by clicking on
My Sites > Customizer > Widgets > drag in to location
Let me know if you have any other questions about that. Let me know the desired order if you need me to sort it out from my side.
-
-
Ah, I see. The button could be centered with custom CSS (available in Premium and Business plans) … or you might try using the email subscribe form instead, since that would fill the whole space and not need centering.
- The topic ‘Follow WordPress button’ is closed to new replies.