Return to Support

How to change child pages listing from ASC to DESC?

Home Forums Graphene WordPress theme Support How to change child pages listing from ASC to DESC?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6077
    itsen
    Member

    Hi!

    I want to change the child pages listing from ascending to descending but I have no idea how to do it.

    I found this in the loop-children.php:

    $args = array(
    'post_parent' => $post->ID,
    'orderby' => 'menu_order title',
    'order' => 'ASC',
    'post_type' => 'page',
    'posts_per_page' => -1
    );

    What should I write in the child loop-children.php? Should I copy everything from the main but change the ASC to DESC?

    #32071
    Syahir Hakim
    Keymaster

    You will need to use a child theme for this. Have you got one? If not, here’s a guide:

    http://docs.graphene-theme.com/Customisation_using_a_child_theme

    #32072
    itsen
    Member

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.