• Resolved Pandasonic2

    (@pandasonic2)


    I’m trying to change the order of posts in the newsletter.
    The plugin orders posts by date, I need to order them by modified date.

    I’ve tried to change the code but without effect.

    In which file is the function that select and order posts?

    thank you

Viewing 1 replies (of 1 total)
  • Thread Starter Pandasonic2

    (@pandasonic2)

    Risolto
    In theme.php occorre cambiare

    if (isset($theme_options[‘theme_posts’])) {
    $filters = array();

    in

    if (isset($theme_options[‘theme_posts’])) {
    $filters = array(
    ‘orderby’ => ‘modified’,
    ‘order’ => ‘DESC’,
    );

    • This reply was modified 4 years, 9 months ago by Pandasonic2.
    • This reply was modified 4 years, 9 months ago by Pandasonic2.
Viewing 1 replies (of 1 total)
  • The topic ‘Order posts by modified date’ is closed to new replies.