Skip to content

Commit

Permalink
Tagging 0.9.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanrice committed Aug 9, 2013
1 parent 4e6fc0b commit 00d39a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
9 changes: 6 additions & 3 deletions inpost.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
* so that users can choose what sidebar to use.
*/
add_action('admin_menu', 'ss_add_inpost_metabox');
function ss_add_inpost_metabox() {
add_meta_box('ss_inpost_metabox', __('Sidebar Selection', 'genesis'), 'ss_inpost_metabox', 'post', 'side', 'low');
add_meta_box('ss_inpost_metabox', __('Sidebar Selection', 'genesis'), 'ss_inpost_metabox', 'page', 'side', 'low');
function ss_add_inpost_metabox() {
foreach ( (array)get_post_types( array( 'public' => true ) ) as $type ) {
if ( post_type_supports( $type, 'genesis-simple-sidebars' ) || $type == 'post' || $type == 'page' ) {
add_meta_box('ss_inpost_metabox', __('Sidebar Selection', 'genesis'), 'ss_inpost_metabox', $type, 'side', 'low');
}
}
}

function ss_inpost_metabox() {
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Genesis Simple Sidebars
Plugin URI: http://www.studiopress.com/plugins/simple-sidebars
Description: Genesis Simple Sidebars allows you to easily create and use new sidebar widget areas.
Version: 0.9
Version: 0.9.1
Author: Nathan Rice
Author URI: http://www.nathanrice.net/
*/
Expand Down
11 changes: 7 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: nathanrice
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
Tags: hooks, genesis, genesiswp, studiopress
Requires at least: 2.9
Tested up to: 3.0
Stable tag: 0.9
Requires at least: 3.0
Tested up to: 3.0.1
Stable tag: 0.9.1

This plugin allows you to create multiple, dynamic widget areas, and assign those widget areas to sidebar locations within the Genesis Theme Framework on a per post, per page, or per tag/category archive basis.

Expand Down Expand Up @@ -44,4 +44,7 @@ Not in the way you're probably thinking. The markup surrounding the widget area
* Fixed "is not array" errors reported by users
* Added nonce verification for security purposes
* Added error and success messages
* Bump to pre-release 0.9 branch
* Bump to pre-release 0.9 branch

= 0.9.1 =
* Added support for custom post types

0 comments on commit 00d39a0

Please sign in to comment.