• Resolved gWorldz

    (@gworldz)


    I know avoiding a settings page/area was part of the beauty of this plugin but was wondering if it might be possible to add a way of changing the order post are presented on the Archive page when the series title is clicked. I would like to have them presented in the order they were posted ….

    Part 1: Post Title
    Part 2: Post Title
    Part 3: Post Title

    etc instead of the current

    Part 3
    Part 2
    Part 1

    I added ?orderby=date&order=ASC to the url generated to get it working for now but its not pretty and I’m sure there is a better way to accomplish it than this so I thought I would ask. It just makes more sense to me to show a series in the order it should be read than in reverse order o.O

    https://wordpress.org/plugins/easy-post-series/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yudhistira Mauris

    (@maurisrx)

    Hi gWorldz,

    Thank you for using the plugin and giving the feedback. Your request has been noted and will probably be included in the next release.

    Regards,
    Mauris

    Plugin Author Yudhistira Mauris

    (@maurisrx)

    Please update the plugin to the latest version. I’ve added some filter hooks to make it easier for user to customize the plugin. In your case, paste the following code into your active theme’s functions.php. Be careful when editing the functions.php because if there’s an error in the code, it will break your website until you remove it via cpanel or FTP.

    add_filter( 'wpeps_archive_page_post_order', 'prfx_archive_page_post_order');
    function prfx_archive_page_post_order( $order ) {
        return $order = 'ASC';
    }
    
    add_filter( 'wpeps_archive_page_post_orderby', 'prfx_archive_page_post_orderby');
    function prfx_archive_page_post_orderby( $orderby ) {
        return $orderby = 'date';
    }

    Let me know if it works.

    Mauris

    Thread Starter gWorldz

    (@gworldz)

    Like a charm 😉

    Thread Starter gWorldz

    (@gworldz)

    Thank you, thank you 😀

    Plugin Author Yudhistira Mauris

    (@maurisrx)

    I’am glad it works. Would you like to leave a review for the plugin? I really appreciate it.

    Thanks,
    Mauris

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ordering on the Series Archive Page’ is closed to new replies.