Support » Plugin: Aesop Story Engine » Reorder posts in Collection?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Haskins

    (@nphaskins)

    Sure can, you can filter it. If you are NOT using Splash Mode, then this will work to swap the direction of the posts from oldest to newest. I would install a plugin like Code Snippets to place this in, or you can use a child theme functions.php

    add_filter("aesop_collection_query", "my_collection_filter");
    function my_collection_filter( $args ){
    	$custom = array(
    		"orderby" => "date",
    		"order"     => "ASC"
    	);
    	return array_merge($args, $custom);
    }

    Let me know how you go about.

    Worked perfectly! Thank you!

    EDIT: I used Code Snippets as suggested. Just copied and pasted the code and activated it.

    Plugin Author Nick Haskins

    (@nphaskins)

    Glad to hear! If you need anything else just let us know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Reorder posts in Collection?’ is closed to new replies.