How to add WordPress Subscription just after the article, I added from ads where I put the code using View Page Source and copied the widget code and pasted on Ads on Theme Panel which is just after the post.
How to add direct subscription widget under every article!
Thanks!
Gadgetsay
Hello,
If you want to add a shortcode inside the post content you need to edit the theme files of each of the post templates you use on your site. You can use a do_shortcode function: https://developer.wordpress.org/reference/functions/do_shortcode/
Here is an example of how to do it: https://forum.tagdiv.com/topic/html-code-after-the-content/
you can use do_shortcode like so:
Thank you!
Hi,
You can add content after articles as I have specified in my previous reply. That method does exactly what you requested. I’m not sure why you say it cannot be done when I already posted the solution and provided a related topic with the same solution provided.
Thank you!
either you are not gettting me or I’m not getting you sir,
I asked you direct thing and that is I want to add widget just after the articles, simple this what I was askin gyou, and you are telling me to add shortcode inside the post content even I have to edit the theme fles,
I was asking you only one thing how to add that widget directly under articles without accessing the database, that whould be alot of work for me then, I want to add from the theme pannel only,
Thanks
Hello,
Let’s try this a different way.
There is no spot to add content on all posts at once. Our theme has no such option.
As this is a widget it can only be used in the sidebar by default but using shortcodes you can add it in the post content as well.
There are 2 ways you can add this widget. Either you add it on every post at the end of the content (you have to edit all existing posts) or you can use the method I showed you to place the subscription widget and it will apply automatically to every post. Your choice. My method allows you to add the content underneath other elements as well which cannot be seen in post edit like for example the related articles or the social icons.
Here is the documentation for implementing the subscription widget: https://jetpack.com/support/subscriptions/
Thank you!