Add WordPress Subscription just after Article

Posted in: Newspaper
Post count: 102

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

Post count: 22421

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!

Post count: 102

So that means we cannot add widget just after articles, my friend using the same template and had done it with their article!

Thanks
Gadgetsay

Post count: 102

just like how Facebook comment box appear after every post using the plugin..

like that we can also add any widget just after articles.

Thank You
Gadgetsay

Post count: 22421

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!

Post count: 102

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

Post count: 102

If I ask you how to add jetpack subscription widget just under articles how can you do that sir?

Thanks?

Post count: 22421

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!

Post count: 623

Hello Gadget says,

Solution 1
You can use Optin Forms plugin to put subscription form at the bottom of each article. No coding required.

Solution 2 [PAID VERSION]
You can use WP- Subscribe plugin.

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.