readme
git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@99957 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
16fd2ef9e1
commit
4ff9eb4df6
|
@ -1,5 +1,6 @@
|
||||||
=== pageMash > Page Management ===
|
=== pageMash > Page Management ===
|
||||||
Contributors: JoelStarnes
|
Contributors: JoelStarnes
|
||||||
|
Donate link: http://joelstarnes.co.uk/donate/
|
||||||
Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide,
|
Tags: order pages, ajax, re-order, drag-and-drop, admin, manage, page, pages, sidebar, header, hide,
|
||||||
Requires at least: 2.1
|
Requires at least: 2.1
|
||||||
Tested up to: 2.7.1
|
Tested up to: 2.7.1
|
||||||
|
|
|
@ -132,7 +132,7 @@ function pageMash_main(){
|
||||||
<h2><?php _e('How to Use ','pmash');?></h2>
|
<h2><?php _e('How to Use ','pmash');?></h2>
|
||||||
<p><?php _e('pageMash works with the wp_list_pages function. The easiest way to use it is to put the pages widget in your sidebar [WP admin page > Appeaarance > Widgets]. Click the configure button on the widget and ensure that \'sort by\' is set to \'page order\'. Hey presto, you\'re done. ','pmash');?></p>
|
<p><?php _e('pageMash works with the wp_list_pages function. The easiest way to use it is to put the pages widget in your sidebar [WP admin page > Appeaarance > Widgets]. Click the configure button on the widget and ensure that \'sort by\' is set to \'page order\'. Hey presto, you\'re done. ','pmash');?></p>
|
||||||
<p><?php _e('You can also use the function anywhere in your theme code. e.g. in your sidebar.php file (but the code in here will not run if you\'re using any widgets) or your header.php file (somewhere under the body tag, you may want to use the depth=1 parameter to only show top level pages). The code should look something like the following:','pmash');?></p>
|
<p><?php _e('You can also use the function anywhere in your theme code. e.g. in your sidebar.php file (but the code in here will not run if you\'re using any widgets) or your header.php file (somewhere under the body tag, you may want to use the depth=1 parameter to only show top level pages). The code should look something like the following:','pmash');?></p>
|
||||||
<p style="margin-bottom:0; font-weight:bold;">Code:</p>
|
<p style="margin-bottom:0; font-weight:bold;"><?php _e('Code:','pmash');?></p>
|
||||||
<code id="pageMash_code">
|
<code id="pageMash_code">
|
||||||
<span class="white"><?php</span> <span class="blue">wp_list_pages(</span><span class="orange">'title_li=<h2>Pages</h2>&depth=0'</span><span class="blue">);</span> <span class="white">?></span>
|
<span class="white"><?php</span> <span class="blue">wp_list_pages(</span><span class="orange">'title_li=<h2>Pages</h2>&depth=0'</span><span class="blue">);</span> <span class="white">?></span>
|
||||||
</code>
|
</code>
|
||||||
|
|
Loading…
Reference in New Issue