{"id":17822,"date":"2012-04-21T23:03:59","date_gmt":"2012-04-21T23:03:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/based-on-post\/"},"modified":"2013-03-06T18:24:19","modified_gmt":"2013-03-06T18:24:19","slug":"based-on-post","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/based-on-post\/","author":9336517,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0","stable_tag":"2.0","tested":"3.5.2","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Based On Post","header_author":"Melvin Software","header_description":"","assets_banners_color":"","last_updated":"2013-03-06 18:24:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=DSRMH3GCX7LD8","header_plugin_uri":"http:\/\/URI_Of_Page_Describing_Plugin_and_Updates","header_author_uri":"http:\/\/www.melvinsoftware.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2240,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0 to 1.1":"<ul>\n<li>Updated the way the Widget displays so that it will now only display on Single Posts and pages. \nNo more showing up where several pages or posts are listed. Also changed how the plugin handles deactivation\/uninstallation.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","2.0"],"block_files":[],"assets_screenshots":{"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1539158","resolution":"2","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539158","resolution":"1","location":"plugin"}},"screenshots":{"1":"The Widget inside the 'Widget' options page","2":"The Based On Post text input box on the post\/page add screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[11109,11110,11111,683,4586],"plugin_category":[],"plugin_contributors":[90503],"plugin_business_model":[],"class_list":["post-17822","plugin","type-plugin","status-closed","hentry","plugin_tags-based-on-post","plugin_tags-melvin-software","plugin_tags-melvinsoftware","plugin_tags-meta","plugin_tags-post-meta","plugin_contributors-melvinsoftware","plugin_committers-melvinsoftware"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/based-on-post.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/based-on-post\/trunk\/screenshot-1.jpg?rev=1539158","caption":"The Widget inside the 'Widget' options page"},{"src":"https:\/\/ps.w.org\/based-on-post\/trunk\/screenshot-2.jpg?rev=1539158","caption":"The Based On Post text input box on the post\/page add screen"}],"raw_content":"<!--section=description-->\n<p>Have you ever wanted to display content on your Wordpress sidebar, but not have it be the same content across your entire site?\nHow about displaying an image gallery for each individual post on the sidebar? Or having information specific to the\nsubject of that particular post displayed?<\/p>\n\n<p>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\nyour 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\nis on the Post or Page writing screen.<\/p>\n\n<p><strong>UPDATED<\/strong>\nNow 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\nCreate 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\nwordpress itself, and add the following code to your template file:   <code>&lt;?php do_action( 'msbop_template_tag' ); ?&gt;<\/code><\/p>\n\n<p>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!<\/p>\n\n<p><strong>Features<\/strong>\n* Display arbitrary information based on the page that the visitors view, instead of the same content throughout your site.<\/p>\n\n<ul>\n<li><p>Use Post title as the widget title, or use your own custom title.<\/p><\/li>\n<li><p>Use HTML, Plain Text, even scripts and shortcodes in the widget!<\/p><\/li>\n<\/ul>\n\n<p><strong>Options<\/strong><\/p>\n\n<p>*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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the zip file from the wordpress repository<\/li>\n<li>Upload the folder 'based-on-post' to the '\/wp-content\/plugins\/' directory  <\/li>\n<\/ol>\n\n<p>*Alternativly to 1 and 2, add the plugin through wordpress itself.<\/p>\n\n<ol>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to your 'Widgets' Menu, and place the 'Based On Post' widget in the sidebar where you would like your content to appear<\/li>\n<li>Go to any Post or Page, or create a new one, and find the newly added 'Based On Post' Section. (It may be hidden at first,\nto make it visible, click 'Screen Options' at the top, and ensure 'Based on Post' is checked)<\/li>\n<li>Input your custom Title and Text or HTML in the input form.<\/li>\n<li>Update\/Publish your content.<\/li>\n<li>View your Website and look for your new content in the position of the widget.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I can't find the Based On Post input box on my 'Add Post' or 'Add Page' screen.<\/dt>\n<dd><p>Please make sure that you've placed a checkmark next to it under the 'screen options' tab inside the\n'Add Post' or 'Add Page' screen. Sometimes wordpress automatically hides extra fields.<\/p><\/dd>\n<dt>The Widget always uses the Post title instead of my own custom Title.<\/dt>\n<dd><p>To turn the 'Post Title as Widget Title' option on or off, go to the 'Appearance-&gt;widgets' section of your wordpress\ndashboard, and open the 'Based On Post' Widget. There is a single checkbox to turn it on or off. (see Screenshot 1)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added support for Custom Post Types, as requested by users.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added the requested Ability to Use a Template Tag to display the data from Based On Post in your template.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Updated the way the Widget displays. Will now only display on Single Posts and pages, to prevent it from showing up where several pages or posts are listed.<\/li>\n<li>Changed how the plugin handles deactivation\/uninstallation. Will now keep all entered data after activation, will remove all associated data on uninstallation\/deletion.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First Stable Release Version.<\/li>\n<li>Ability to add a single Based On Post widget to the sidebar.<\/li>\n<li>Shortcodes Added<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Development and Testing.<\/li>\n<\/ul>","raw_excerpt":"Based On Post is designed to let users and developers make use of their Theme&#039;s sidebars by enabling dynamic content that can be changed by post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17822"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/melvinsoftware"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17822"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17822"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17822"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17822"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17822"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}