git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@31777 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
5111a57c37
commit
ce4909acc6
14
README.txt
14
README.txt
|
@ -22,12 +22,13 @@ If you want to see an example of the admin page check out: http://joelstarnes.co
|
||||||
|
|
||||||
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=);`
|
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:
|
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'))`
|
||||||
`{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}`
|
`{$exclude_pages=pageMash_exclude_pages();} else{$exclude_pages='';}`
|
||||||
`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: `wp-content\themes\theme_name`
|
usually either the header.php or sidebar.php file found in: `wp-content\themes\theme_name`
|
||||||
|
|
||||||
|
@ -46,4 +47,13 @@ Currently only available in english.
|
||||||
|
|
||||||
== Limitations==
|
== Limitations==
|
||||||
|
|
||||||
The plugin will currently only handle top level pages.
|
The plugin will currently only handle top level pages.
|
||||||
|
|
||||||
|
==Change Log==
|
||||||
|
|
||||||
|
0.1.0 > Initial Release
|
||||||
|
0.1.1 > Removed version check [line72] since some hosts will not allow external includes.
|
||||||
|
|
||||||
|
==Road Map==
|
||||||
|
|
||||||
|
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.
|
Loading…
Reference in New Issue