Changeset 765521
- Timestamp:
- 09/01/2013 11:23:51 PM (12 years ago)
- Location:
- page-management/tags/2.2
- Files:
-
- 6 edited
-
page-management-media.js (modified) (2 diffs)
-
page-management-shortcode-dropdown.js (modified) (2 diffs)
-
page-management.css (modified) (2 diffs)
-
page-management.js (modified) (3 diffs)
-
page-management.php (modified) (5 diffs)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
page-management/tags/2.2/page-management-media.js
r763909 r765521 3 3 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/ 4 4 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes. 5 * Version: 2. 05 * Version: 2.3 6 6 * Author: WPShowCase 7 7 * Author URI: http://www.wpshowcase.net … … 10 10 * 11 11 * @package PageManagement 12 * @version 2. 112 * @version 2.3 13 13 * @author WPShowCase <[email protected]> 14 14 * @copyright Copyright (c) 2013, WPShowCase.net -
page-management/tags/2.2/page-management-shortcode-dropdown.js
r763909 r765521 3 3 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/ 4 4 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes. 5 * Version: 2. 05 * Version: 2.3 6 6 * Author: WPShowCase 7 7 * Author URI: http://www.wpshowcase.net … … 10 10 * 11 11 * @package PageManagement 12 * @version 2. 112 * @version 2.3 13 13 * @author WPShowCase <[email protected]> 14 14 * @copyright Copyright (c) 2013, WPShowCase.net -
page-management/tags/2.2/page-management.css
r763909 r765521 3 3 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/ 4 4 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes. 5 * Version: 2. 05 * Version: 2.3 6 6 * Author: WPShowCase 7 7 * Author URI: http://www.wpshowcase.net … … 10 10 * 11 11 * @package PageManagement 12 * @version 2. 112 * @version 2.3 13 13 * @author WPShowCase <[email protected]> 14 14 * @copyright Copyright (c) 2013, WPShowCase.net -
page-management/tags/2.2/page-management.js
r763909 r765521 3 3 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/ 4 4 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes. 5 * Version: 2. 05 * Version: 2.3 6 6 * Author: WPShowCase 7 7 * Author URI: http://www.wpshowcase.net … … 10 10 * 11 11 * @package PageManagement 12 * @version 2. 112 * @version 2.3 13 13 * @author WPShowCase <[email protected]> 14 14 * @copyright Copyright (c) 2013, WPShowCase.net … … 240 240 $("body").on({ 241 241 ajaxStart: function() { 242 $( this).addClass("page-management-ajax");242 $('body').addClass("page-management-ajax"); 243 243 }, 244 ajaxStop: function() { 245 $(this).removeClass("page-management-ajax"); 244 ajaxComplete: function(event, xhr, settings) { 245 var data = settings.data; 246 if(data.indexOf('action=inline-save')>=0) { 247 $('body').addClass("page-management-ajax"); 248 $('#the-list').css({'opacity':'0.5', 'filter':'alpha(opacity=50)'}); 249 jQuery.post(ajaxurl, 250 { 251 'action': 'reload_editphp_table', 252 'query' : window.location.href.slice(window.location.href.indexOf('?') + 1) 253 }, function(response) { 254 $('#the-list').html(response); 255 $('.edit-php #the-list tr').each(function() { 256 addPageManagementToRow($(this), true); 257 }); 258 if(page_management_settings.expandpages=='false') { 259 $('.edit-php #the-list tr[class*="parent-is-"]').each(function() { 260 $(this).hide(0); 261 }); 262 $('.edit-php #the-list tr[class*="parent-is-0"]').each(function() { 263 $(this).show(0); 264 }); 265 } 266 $('#the-list').css({'opacity':'1', 'filter':'alpha(opacity=100)'}); 267 268 }); 269 } 270 $('body').removeClass("page-management-ajax"); 246 271 } 247 272 }); -
page-management/tags/2.2/page-management.php
r763909 r765521 4 4 * Plugin URI: http://www.wpshowcase.net/plugins/page-management-plugin/ 5 5 * Description: Page Management is a great tool which allows you to do loads of useful things including to hide/expand subpages when viewing the page hierarchy, to display all pages/posts on the same page, to reorder pages using drag and drop, to show the current page's media files by default and to add a shortcode dropdown of all the site's shortcodes. 6 * Version: 2. 26 * Version: 2.3 7 7 * Author: WPShowCase 8 8 * Author URI: http://www.wpshowcase.net … … 11 11 * 12 12 * @package PageManagement 13 * @version 2. 213 * @version 2.3 14 14 * @author WPShowCase <[email protected]> 15 15 * @copyright Copyright (c) 2013, WPShowCase.net … … 44 44 add_filter('edit_posts_per_page', array($this, 'page_management_posts_per_page')); 45 45 add_action('wp_ajax_update_post_position', array($this, 'ajax_update_post_position')); 46 add_action('wp_ajax_reload_editphp_table', array($this, 'reloadEditPhpTable')); 46 47 $plugin = plugin_basename(__FILE__); 47 48 add_filter("plugin_action_links_$plugin", array($this,'page_management_link') ); … … 93 94 $postToUpdate->menu_order=1; 94 95 wp_update_post( $postToUpdate ); 95 96 97 $this->reloadEditPhpTable(); 98 die(); 99 } 100 101 function reloadEditPhpTable() { 102 define('WP_USE_THEMES', false); 103 require_once( ABSPATH . 'wp-load.php' ); 104 global $wpdb; 105 96 106 global $wp_list_table; 97 107 $args = wp_parse_args($_POST['query'], array('paged' => 1, 'orderby' => 'menu_order title', 'order' => 'ASC')); … … 115 125 $wp_list_table->hierarchical_display = true; 116 126 $wp_list_table->display_rows( $_query->get_posts(), 0 ); 117 die();118 127 } 119 128 -
page-management/tags/2.2/readme.txt
r765229 r765521 8 8 License: GPLv2 or later, Copyright (c) WPShowCase 2013 9 9 10 Page Management makes page admin simple with loads a great features including drag and drop ordering and options to show/hide pages.10 Easily reorder pages and edit page hierarchy using drag-and-drop. Expand/hide subpages and view infinite number of pages/posts at same time. 11 11 12 12 == Description == … … 14 14 Page Management is a plugin that allows a sites' pages to be managed easily. "Page Management" allows admin users to: 15 15 <ul> 16 <li>Reorder pages using "drag and drop".</li>17 <li> Choose the number of pages that the author can see at the same time so that the author can see all the site's pages at the same time.</li>18 <li>Allow a uthors to hide subpages so they can see the pages more easily.</li>16 <li>Reorder pages and edit the page hierarchy using "drag and drop".</li> 17 <li>View all the sites posts or pages on the same page.</li> 18 <li>Allow admin users to hide subpages so they can see the pages more easily.</li> 19 19 <li>Creates an option to change the default view "Uploaded to this Post" in the media manager (making pictures/photos/images easier to find).</li> 20 20 <li>Creates an option to add a shortcode dropdown to Tiny MCE (so you can select your site's shortcodes from a dropdown).</li> 21 21 </ul> 22 22 23 Page Management has more great options:24 <ul>25 <li>You can choose to hide subpages by default (so you can see the main pages of your site).</li>26 <li>Remove pagination from the pages/posts editing pages - so you can see all the posts or pages at the same time. This makes reordering the pages using the "drag and drop" feature much easier.</li>27 </ul>28 29 23 Page Management hides the subpages when a page is being dragged. This means that you can't break the pagination by dragging 30 24 a page onto one of its subpages and that moving a page with several levels of subpages is easy. 25 26 Page Management checks whether the admin user has edit page permission to only allow appropriate users to reorder pages. 31 27 32 28 Page Management's page reordering is fully hierarchical. You can drag pages between different levels. … … 39 35 </ul> 40 36 41 The shortcode dropdown displays all the shortcodes available -the site's active theme and all its plugins. It is not restricted to a set of shortcodes defined by this plugin.37 Page Management also adds a shortcode dropdown with the site's active theme and all its plugins. It is not restricted to a set of shortcodes defined by this plugin. 42 38 43 39 It allows shortcodes to be selected from a dropdown menu in the rich text editor for pages and posts. This is really useful because: … … 53 49 you'd like to use. 54 50 51 To install manually: 52 1. Download page-management.zip. 53 2. Unzip. 54 3. Upload page-management directory your /wp-content/plugins directory. 55 4. Go to the plugin management page and activate the plugin. 56 5. Configure the options on the settings page. 57 55 58 == Screenshots == 56 59 … … 65 68 Please contact the author who can fix any errors. 66 69 70 = Why would I want to use this plugin? = 71 72 This plugin allows you to manage the order of your pages easily and to rearrannge the page hierarchy. This plugin has extra features 73 like being able to make the media files uploaded to a post the default in the post media view and adding a shortcode dropdown to 74 the text editor. 75 76 = I like the plugin and have ideas to improve it = 77 78 Please contact the author with any ideas on how to improve it. If you like the plugin, please tell other Wordpress users about 79 it by rating it as fantastic. 80 81 = All the pages are either expanded or not expanded. Is it possible to expand to a certain level? = 82 83 This is not currently a feature however this plugin is under continual development. 84 85 = My editor doesn't work properly when I enable the shortcode dropdown = 86 87 Please disable this feature. 88 67 89 == Changelog == 90 91 = 2.3 = 92 * Made plugin work with inline save. 68 93 69 94 = 2.2 =
Note: See TracChangeset
for help on using the changeset viewer.