Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Based On Post

Based On Post is designed to let users and developers make use of their Theme's sidebars by enabling dynamic content that can be changed by post.

Have you ever wanted to display content on your WordPress sidebar, but not have it be the same content across your entire site? How about displaying an image gallery for each individual post on the sidebar? Or having information specific to the subject of that particular post displayed?

Based On Post let's you do just that. This simple, but extremely useful WordPress plugin is designed to let you place a widget on a single sidebar of your wordpress blog, (in the furture, multiple sidebars will be supported), and for each post or page, specify the text or HTML code that is to go in the widget. The input box for the data is on the Post or Page writing screen.

UPDATED Now you can also add Based On Post to your Templates instead of your Sidebar. It still relies on data being entered in the fiels inside the Create Post or Create Page screens. To add it to your template, open one of the template files either in the editor of your choice or inside wordpress itself, and add the following code to your template file: <?php do_action( 'msbop_template_tag' ); ?>

Friendly Tip: You should only use Template Tags if you know how to edit your PHP code...wrongly placed code can mess up your site!

Features * Display arbitrary information based on the page that the visitors view, instead of the same content throughout your site.

  • Use Post title as the widget title, or use your own custom title.

  • Use HTML, Plain Text, even scripts and shortcodes in the widget!


*You will find the option for using the Post Title as the Widget Title in the widget box when you add it to your sidebar.

Requires: 3.0.0 or higher
Compatible up to: 3.5.2
Last Updated: 3 years ago
Active Installs: 100+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1