mirror of
https://github.com/10h30/genesis-simple-sidebars.git
synced 2026-07-11 18:46:05 +09:00
Tagging 0.9.1.
This commit is contained in:
+5
-2
@@ -5,8 +5,11 @@
|
|||||||
*/
|
*/
|
||||||
add_action('admin_menu', 'ss_add_inpost_metabox');
|
add_action('admin_menu', 'ss_add_inpost_metabox');
|
||||||
function ss_add_inpost_metabox() {
|
function ss_add_inpost_metabox() {
|
||||||
add_meta_box('ss_inpost_metabox', __('Sidebar Selection', 'genesis'), 'ss_inpost_metabox', 'post', 'side', 'low');
|
foreach ( (array)get_post_types( array( 'public' => true ) ) as $type ) {
|
||||||
add_meta_box('ss_inpost_metabox', __('Sidebar Selection', 'genesis'), 'ss_inpost_metabox', 'page', 'side', 'low');
|
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() {
|
function ss_inpost_metabox() {
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
Plugin Name: Genesis Simple Sidebars
|
Plugin Name: Genesis Simple Sidebars
|
||||||
Plugin URI: http://www.studiopress.com/plugins/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.
|
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: Nathan Rice
|
||||||
Author URI: http://www.nathanrice.net/
|
Author URI: http://www.nathanrice.net/
|
||||||
*/
|
*/
|
||||||
|
|||||||
+6
-3
@@ -2,9 +2,9 @@
|
|||||||
Contributors: nathanrice
|
Contributors: nathanrice
|
||||||
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
|
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
|
||||||
Tags: hooks, genesis, genesiswp, studiopress
|
Tags: hooks, genesis, genesiswp, studiopress
|
||||||
Requires at least: 2.9
|
Requires at least: 3.0
|
||||||
Tested up to: 3.0
|
Tested up to: 3.0.1
|
||||||
Stable tag: 0.9
|
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.
|
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.
|
||||||
|
|
||||||
@@ -45,3 +45,6 @@ Not in the way you're probably thinking. The markup surrounding the widget area
|
|||||||
* Added nonce verification for security purposes
|
* Added nonce verification for security purposes
|
||||||
* Added error and success messages
|
* 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
|
||||||
Reference in New Issue
Block a user