WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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!

Options

*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: 2013-3-6
Downloads: 1,261

Ratings

4 stars
4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1 100,1,1