Newsletter Call to Action After Content
Adds a simple sign-up box at the end of post content that links to your newsletter page or form.
Opens WPIDE on
Code
<div class="wpide-cta-box" style="margin:2.5em 0 1em;padding:24px;border-radius:8px;background:#f0f6fc;text-align:center;">
<h3 style="margin-top:0;">Enjoyed this article?</h3>
<p>Get new posts delivered to your inbox. No spam, unsubscribe at any time.</p>
<p style="margin-bottom:0;"><a class="wp-element-button button" href="/newsletter/">Subscribe</a></p>
</div>
Notes
Change /newsletter/ to your sign-up page or paste your email provider form.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.