This code enables you to add a custom widget area after any number of paragraphs on single posts and pages.
You can use any conditional tags you like to target or exclude specific posts, pages, taxonomies and custom posts types etc.
In this example, the widget displays after 2 paragraphs.
#Code Installation
There’s only 1 step.
Copy & paste the PHP code from the download folder to the end of your child themes functions file and add any content you like to your new widget area.
Register or login to access the download folder :
Was This Tutorial Helpful?