Manage your multitude of pages with pageMash's slick drag-and-drop style, ajax interface. Allows for quick sorting, hiding and organising of page parenting structure in a simple intuative manner.
@ -23,7 +23,7 @@ Feedback is greatly appreciated: http://joelstarnes.co.uk/contact
pageMash works with the `wp_list_pages` function. The easiest way to use it is to put the standard WordPress pages widget in your sidebar. Click the configure button on the widget and ensure that 'sort by' is set to 'page order'. Hey presto, you're done.
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 levle pages). The code should look something like the following:
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:
@ -45,7 +45,7 @@ Try opening up your WP admin and browse to your pageMash page, then take a look
No. As of v1.0.2 you no longer need to add any code to your template. PageMash adds a filter to the wp_list_pages() function and will also work just fine with the pages widget.
= Which browsers are supported =
Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and Opera. (NB in IE7 you need to use the page name as a drag handle.)
Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and Opera. (NB in IE you might need to use the page name as a drag handle.)
== Screenshots ==
@ -55,6 +55,11 @@ Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and
==Change Log==
= 1.3.0 =
- Important core fix ~ good call Alex!
- Pages show 'draft' and 'pending review' tags
- Fix for nested sorting bug in safari
= 1.2.2 =
- Additional multi-lingual support
- Adds turkish translation ~ by Ömer Faruk [ramerta.com]
@ -133,5 +138,6 @@ Any good up-to-date browser should work fine. I test in Firefox, IE7, Safari and
= pageMash is available in: =
- English
- German :: courtesy of Tom [www.outsourcetoasia.de]
- Turkish :: courtesy of Ömer Faruk [ramerta.com]
If you'd like to translate pageMash into your own language get in touch and I'll be happy to add it in.
@ -75,8 +75,10 @@ function pageMash_getPages($post_parent){
if($pageposts==true){//if $pageposts == true then it does have sub-page(s), so list them.
echo(0===$post_parent)?'<ul id="pageMash_pages">':'<ul>';//add this ID only to root 'ul' element
foreach($pagepostsas$page)://list pages, [the 'li' ID must be pm_'page ID'] ?>
<?php$status=$page->post_status;?>
<liid="pm_<?php echo $page->ID; ?>"<?phpif(get_option('exclude_pages')){if(in_array($page->ID,$excludePagesList))echo' class="remove"';}//if page is in exclude list, add class remove ?>>
<?php_e('Just drag the pages <strong>up</strong> or <strong>down</strong> to change the page order and <strong>left</strong> or <strong>right</strong> to change the page`s parent, then hit "update". ','pmash');?> <br />
<?php_e('The icon to the left of each page shows if it has child pages, <strong>double click</strong> on that item to toggle <strong>expand|collapse</strong> of it`s children. ','pmash');?> <br />
</p>
<p><ahref="#"id="expand_all"><?php_e('Expand All','pmash');?></a> | <a href="#" id="collapse_all"><?php _e('Collapse All ','pmash');?></a></p>
<p><ahref="#"id="expand_all"><?php_e('Expand All','pmash');?></a> | <a href="#" id="collapse_all"><?php _e('Collapse All ','pmash');?></a></p>
<?phppageMash_getPages(0);//pass 0, as initial parent ?>
<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 \> Presentation \> 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>
@ -29,7 +29,7 @@ msgid "The icon to the left of each page shows if it has child pages, do
msgstr "Das Symbol links an jeder Seite zeigt an, ob Unterseiten vorhanden sind. Mit einem <strong>Doppel Klick</strong> können diese <strong>ein- oder ausgeklappen</strong>. Am Ende auf \"Aktualisieren\". klicken."
#: pagemash.php:118
msgid "Expand All"
msgid "Expand All"
msgstr "Alle aufklappen"
#: pagemash.php:118
@ -45,7 +45,7 @@ msgid "How to Use "
msgstr "Anleitung"
#: pagemash.php:132
msgid "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 \\> Presentation \\> Widgets'. Click the configure button on the widget and ensure that 'sort by' is set to 'page order'. Hey presto, you're done. "
msgid "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. "
msgstr "pageMash arbeitet mit der wp_list_pages Funktion. Die einfachste Methode ist, den Seiten Widget in der Sidebar zu aktivieren. [WP Admin > Darstellung > Widgets]. Klicke Konfiguration und stell sicher, dass die Sortierung auf \"Seiten Sortierung\" steht. Fertig!"
@ -29,7 +29,7 @@ msgid "The icon to the left of each page shows if it has child pages, do
msgstr "Eğer bir iconun üzerinde + işareti görünüyorsa, bu, o sayfanın alt sayfaları var anlamına gelir, Alt sayfalarını görmek için veya kapatmak için o sayfanın iconuna <strong>çift tıklayın</strong>. Hepsini açıp kapatmak için tıkla <strong>Hepsini Aç/Hepsini Kapat</strong> seçeneklerine tıklayın."
#: pagemash.php:118
msgid "Expand All"
msgid "Expand All"
msgstr "Hepsini Aç"
#: pagemash.php:118
@ -45,8 +45,8 @@ msgid "How to Use "
msgstr "Nasıl Kullanılır"
#: pagemash.php:132
msgid "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 \\> Presentation \\> Widgets'. Click the configure button on the widget and ensure that 'sort by' is set to 'page order'. Hey presto, you're done. "
msgstr "pageMash. wp_list_pages function ile birlikte çalışmaktadır. Yan menüde bu eklentiyi kullanmanın kolay yolu şu 'WP Admin Sayfası\\> Görünüm \\> Bileşenler'. Ayarlar butonuna tıkla ve 'sort by' kısmını 'sayfa düzenine' ayarla ve olduğunu garantiye al."
msgid "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. "
msgstr "pageMash. wp_list_pages function ile birlikte çalışmaktadır. Yan menüde bu eklentiyi kullanmanın kolay yolu şu 'WP Admin Sayfası > Görünüm > Bileşenler'. Ayarlar butonuna tıkla ve 'sort by' kısmını 'sayfa düzenine' ayarla ve olduğunu garantiye al."
#: pagemash.php:133
msgid "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:"