We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Order pages by pageModified
Is there a way to order pages by pageModified? Client wants a list of pages and modified times so they can check which pages are old and need an update.
I have tried this;
<?php perch_pages_navigation(array( 'from-path' => '/', 'hide-extensions' => true, 'template' => 'updated.html', 'siblings' => false, 'add-trailing-slash' => true, 'include-hidden' => true, 'use-attributes' => true, 'sort' => 'pageModified', 'sort-order' => ASC )); ?>
But I don't believe sort works with perch_pages_navigation.
I could get a raw array and perhaps sort myself using PHP, but wondered if there was a simplier Perch way to do this?
Want to reply to this thread?Login with Perch