not able to add subscribe to newsletter shortcode at end of blog page. want to add after pagination and before footer. anybody know how to add? the page i am working on Website
not able to add subscribe to newsletter shortcode at end of blog page. want to add after pagination and before footer. anybody know how to add? the page i am working on Website
Share Improve this question edited Jul 20, 2020 at 10:40 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Jul 20, 2020 at 8:35 ShubhamKShubhamK 12 bronze badges 1 |1 Answer
Reset to default 0I would suggest using do_shortcode
as mozboz suggested.
But I think that using the single.php file is a better way of doing it.
The template you should use will depend on how your theme is structured, but if the element is supposed to always display after a post then editing the main template is the best way to do it.
do_shortcode
? it lets you run a shortcode from PHP. You could add it at the end of your main index.php. – mozboz Commented Jul 20, 2020 at 12:22