mirror of
https://github.com/10h30/genesis-simple-sidebars.git
synced 2026-06-05 15:08:34 +09:00
Tagging 0.9.1.
This commit is contained in:
+6
-3
@@ -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() {
|
||||
|
||||
+1
-1
@@ -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/
|
||||
*/
|
||||
|
||||
+7
-4
@@ -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.
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user