From adbca9e06b43ce85c67e8bfc0d35f9847388417f Mon Sep 17 00:00:00 2001 From: jmash Date: Wed, 13 Feb 2008 18:13:55 +0000 Subject: [PATCH] git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@31771 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- README.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index dd679f5..70cc73b 100644 --- a/README.txt +++ b/README.txt @@ -10,6 +10,7 @@ Organise your page order with this simple drag-and-drop Ajax interface. == Description == 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. +If you want to see an example of the admin page check out: http://joelstarnes.co.uk/pagemash/example == Installation == @@ -21,9 +22,9 @@ Customise the order your pages are listed in with a simple Ajax drag-and-drop ad 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=);` However to achieve full functionality including the 'exclude pages' feature you should replace the `wp_list_pages()` function with the following php code: - `if(function_exists('pageMash_exclude_pages'))` - `{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}` - `wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);` +1. `if(function_exists('pageMash_exclude_pages'))` +2. `{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}` +3. `wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);` You can place the code wherever you would like your page listings to appear; usually either the header.php or sidebar.php file found in: `wp-content\themes\theme_name` @@ -35,7 +36,7 @@ please drop me an email: joel@joelstarnes.co.uk == Screenshots == -1. Admin Interface +1. Admin Interface. == Localization ==