Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #224664

    Hi, I asked this question previously 2 years ago and got the reply noted below, however this fix no longer works with the latest version; any ideas?

    Dude:
    open up flashlight/includes/helper-slideshow.php and replace:

    $attachments = get_children(array(‘post_parent’ => $attachment_holder['ID'],
    ‘post_status’ => ‘inherit’,
    ‘post_type’ => ‘attachment’,
    ‘post_mime_type’ => ‘image’,
    ‘order’ => ‘ASC’,

    with…

    ‘order’ => ‘DESC’,

    I’ve implemented this, but it doesn’t seem to be working in the latest version.

    • This topic was modified 5 months, 1 week ago by  spiteyourface.
    #224834

    Hi spiteyourface!

    Please try to replace this code in flashlight/includes/helper-slideshow.php:

    
    $attachments = avia_post_meta($this->id, 'slideshow');
    

    with

    
    $attachments = avia_post_meta($this->id, 'slideshow');
    $attachments = array_reverse($attachments);
    

    Regards,
    Peter

    #225151

    Amaze, thanks! Mission accomplished.

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

The topic ‘Reverse order of Flexible Grid gallery?’ is closed to new replies.