pageMash > Page Management - Version 0.1.1

Version Description

Download this release

Release Info

Developer jmash
Plugin Icon wp plugin pageMash > Page Management
Version 0.1.1
Comparing to
See all releases

Code changes from version 0.1.0 to 0.1.1

Files changed (2) hide show
  1. README.txt +21 -4
  2. pagemash.php +4 -3
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: JoelStarnes
3
Tags: order pages, ajax, re-order, drag-and-drop, admin,
4
Requires at least: 2.0
5
Tested up to: 2.4-bleeding
6
- Stable tag: 0.1.0
7
8
Organise your page order with this simple drag-and-drop Ajax interface.
9
@@ -11,6 +11,8 @@ Organise your page order with this simple drag-and-drop Ajax interface.
11
12
Customise the order your pages are listed in with a simple Ajax drag-and-drop administrative interface with an option to toggle the page visibility. Great tool to quickly re-arrange your menus.
13
14
== Installation ==
15
16
1. Download Plugin
@@ -20,11 +22,13 @@ Customise the order your pages are listed in with a simple Ajax drag-and-drop ad
20
21
In most cases the plugin should work straight out the box, since most templates will include something similar to: `wp_list_pages('depth=1&title_li=);`
22
23
- However to achieve full functionality including the 'exclude pages' feature you should replace the `wp_list_pages()` function with the following php code:
24
`if(function_exists('pageMash_exclude_pages'))`
25
`{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}`
26
`wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);`
27
28
You can place the code wherever you would like your page listings to appear;
29
usually either the header.php or sidebar.php file found in: `wp-content\themes\theme_name`
30
@@ -35,8 +39,21 @@ please drop me an email: joel@joelstarnes.co.uk
35
36
== Screenshots ==
37
38
- 1. Admin Interface
39
40
== Localization ==
41
42
- Currently only available in english.
3
Tags: order pages, ajax, re-order, drag-and-drop, admin,
4
Requires at least: 2.0
5
Tested up to: 2.4-bleeding
6
+ Stable tag: 0.1.1
7
8
Organise your page order with this simple drag-and-drop Ajax interface.
9
11
12
Customise the order your pages are listed in with a simple Ajax drag-and-drop administrative interface with an option to toggle the page visibility. Great tool to quickly re-arrange your menus.
13
14
+ If you want to see an example of the admin page check out: http://joelstarnes.co.uk/pagemash/example
15
+
16
== Installation ==
17
18
1. Download Plugin
22
23
In most cases the plugin should work straight out the box, since most templates will include something similar to: `wp_list_pages('depth=1&title_li=);`
24
25
+ However to achieve full functionality including the 'exclude pages' feature you should replace the wp_list_pages() function with the following php code:
26
+
27
`if(function_exists('pageMash_exclude_pages'))`
28
`{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}`
29
`wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);`
30
31
+
32
You can place the code wherever you would like your page listings to appear;
33
usually either the header.php or sidebar.php file found in: `wp-content\themes\theme_name`
34
39
40
== Screenshots ==
41
42
+ 1. Admin Interface.
43
44
== Localization ==
45
46
+ Currently only available in english.
47
+
48
+ == Limitations==
49
+
50
+ The plugin will currently only handle top level pages.
51
+
52
+ ==Change Log==
53
+
54
+ 0.1.0 > Initial Release
55
+ 0.1.1 > Removed version check [line72] since some hosts will not allow external includes.
56
+
57
+ ==Road Map==
58
+
59
+ For the next majour release I hope to support children pages and allow these to be sorted and moved between different parents in a nested list fashion.
pagemash.php CHANGED
@@ -2,14 +2,15 @@
2
/*
3
Plugin Name: pageMash
4
Plugin URI: http://joelstarnes.co.uk/pagemash/
5
- Description: Page Order Management (WP ADMIN > MANAGE > pageMash).
6
Author: Joel Starnes
7
- Version: 0.1.0
8
Author URI: http://joelstarnes.co.uk/
9
10
CHANGELOG:
11
Release: Date: Description:
12
0.1.0 10 Feb 2008 Initial release
13
14
*/
15
#########CONFIG OPTIONS############################################
@@ -69,7 +70,7 @@ function pageMash_main(){
69
70
<div id="pageMash" class="wrap">
71
<div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;">
72
- <?php include("http://www.joelstarnes.co.uk/app_update/?p=pageMash&v=0.1.0"); ?>
73
</div>
74
<h2 style="margin-bottom:0; clear:none;">pageMash - pageManagement</h2>
75
<p style="margin-top:4px;">You can use this to organise and manage your pages.</p>
2
/*
3
Plugin Name: pageMash
4
Plugin URI: http://joelstarnes.co.uk/pagemash/
5
+ Description: pageMash > pageManagement [WP_Admin > Manage > pageMash]
6
Author: Joel Starnes
7
+ Version: 0.1.1
8
Author URI: http://joelstarnes.co.uk/
9
10
CHANGELOG:
11
Release: Date: Description:
12
0.1.0 10 Feb 2008 Initial release
13
+ 0.1.1 12 Feb 2008 Minor fixes
14
15
*/
16
#########CONFIG OPTIONS############################################
70
71
<div id="pageMash" class="wrap">
72
<div id="pageMash_checkVersion" style="float:right; font-size:.7em; margin-top:5px;">
73
+ version [0.1.1]
74
</div>
75
<h2 style="margin-bottom:0; clear:none;">pageMash - pageManagement</h2>
76
<p style="margin-top:4px;">You can use this to organise and manage your pages.</p>