git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@31586 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
084f983bd6
commit
fa2a35f934
|
@ -18,8 +18,7 @@ Customise the order your pages are listed in with a simple Ajax drag-and-drop ad
|
||||||
1. Activate in 'Plugins' admin menu
|
1. Activate in 'Plugins' admin menu
|
||||||
1. {Edit your Template}
|
1. {Edit your Template}
|
||||||
|
|
||||||
In most cases the plugin should work straight out the box, since most templates will include something similar to:
|
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=);`
|
||||||
`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:
|
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'))`
|
`if(function_exists('pageMash_exclude_pages'))`
|
||||||
|
@ -27,8 +26,7 @@ However to achieve full functionality including the 'exclude pages' feature you
|
||||||
`wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);`
|
`wp_list_pages('depth=1&title_li=&exclude='.$exclude_pages);`
|
||||||
|
|
||||||
You can place the code wherever you would like your page listings to appear;
|
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:
|
usually either the header.php or sidebar.php file found in: `wp-content\themes\theme_name`
|
||||||
`wp-content\themes\theme_name`
|
|
||||||
|
|
||||||
== Frequently Asked Questions ==
|
== Frequently Asked Questions ==
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue