Call to Action in the Middle of Articles
Inserts a highlighted call-to-action box halfway through post content, where engaged readers are most likely to see it.
Opens WPIDE on
Code
<aside class="wpide-mid-cta" style="margin:2em 0;padding:20px 24px;border-left:4px solid #2271b1;border-radius:4px;background:#f0f6fc;">
<p style="margin:0 0 8px;font-weight:600;">Enjoying this article?</p>
<p style="margin:0;">Get our best guides in your inbox every month. <a href="/newsletter/">Subscribe for free</a>.</p>
</aside>
Notes
Edit the text and link. Use WPIDE conditions to limit it to posts or specific categories.
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.