This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Widget Interlacer


Interlace widget content with the main post content. You can add a sign-up form, or a JavaScript snippet if you want to. It could easily be customized to add virtually any other piece of content that can go into a widget.


Once the plugin is activated it will create a sidebar in Appearance>Widgets. Any widget that you place in that sidebar will get displayed within the post content. You specify what HTML element the widget content shall appear after.

For example, if you know that you have three <p> tags in your post and you want an advertisement to appear after the second <p> tag, then on that post you can set the widget to display after a ‘p’ and after 2 elements.


  • Sample configurations on the WordPress Widget area
  • View of the Post editor without any interlaced content, because authors don't have to add it!
  • Interlaced widget content in the post content!


This section describes how to install the plugin and get it working.


  1. Upload widget-interlacer.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Can I add a form to this area?

Yes, forms interlaced within post content are a great way to engage users.

Can I interlace PHP?

No. Adding PHP to widgets has a whole set of factors to deal with. I don’t want to support something like that with this plugin, but there are ways for you to do it.

I can’t see my widget content

You may have set the number of elements too high. For simplicity’s sake, I assume that this will be used for heavily structured content. You will have to know exactly what element it will be injected after. i.e., you probably shouldn’t rely on this to interlace widget content with post content.

It is possible to tell WordPress to display this widget beyond the number of elements that actually appear on the page, hence the widget would never get displayed at all.

Where do I style this widget content?

I purposely kept as much of my styles out of this. Each widget should inherit as many styles as possible but your regular styles don’t target these elements. To do that, you’ll have to edit your own theme’s stylesheet.


There are no reviews for this plugin.

Contributors & Developers

“Widget Interlacer” is open source software. The following people have contributed to this plugin.


Translate “Widget Interlacer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial Release