Changeset 1233579
- Timestamp:
- 08/29/2015 08:03:28 AM (11 years ago)
- Location:
- page-siblings/trunk
- Files:
-
- 2 edited
-
page-siblings.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
page-siblings/trunk/page-siblings.php
r1031717 r1233579 5 5 Description: Add a metabox with all page edit (and any other hierarchal post types) that display an edit link to its siblings. 6 6 Author: Ionuț Staicu 7 Version: 1.0. 47 Version: 1.0.5 8 8 Author URI: http://iamntz.com 9 9 */ … … 37 37 38 38 public function add_column_filters(){ 39 if( !isset( $_GET['post_type'] ) || !is_post_type_hierarchical( $_GET['post_type'] ) ) { 40 return; 41 } 42 39 43 $current_setting = isset( $_GET['display_only_parents'] ) ? (int) $_GET['display_only_parents'] : 0; 40 44 ?> -
page-siblings/trunk/readme.txt
r1112094 r1233579 3 3 Tags: page administration, utils, custom post type 4 4 Requires at least: 3.0 5 Tested up to: 4. 35 Tested up to: 4.4 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 11 11 == Description == 12 12 13 Ever had to manage a WP install with many pages and subpages? This plugin does nothing more than adding 14 a metabox to every post type that is hierarchical (that is pages and any other custom post type!) with 15 a list of all page siblings, starting with the parent, so you can have: 13 Ever had to manage a WP install with many pages and subpages? This plugin does nothing more than adding a metabox to every post type that is hierarchical (that is pages and any other custom post type!) with a list of all page siblings, starting with the parent, so you can have: 16 14 17 15 ` … … 22 20 |— Our Company 23 21 ` 22 23 Bonus: when you're listing posts on admin pages, you can also choose to display only parents. 24 24 25 25 == Installation == … … 48 48 = 1.0.4 = 49 49 * added correct sorting for pages (thanks Jakob for pointing this) 50 51 = 1.0.5 = 52 * We shouldn't display filtering option on post types that aren't hierarchical!
Note: See TracChangeset
for help on using the changeset viewer.