• Resolved ryanbednar

    (@ryanbednar)


    Thanks in advance for any help or ideas.

    I am using the following shortcode to auto-display a listing of all the galleries in my database:
    [album id=all template=compact]
    This works great except for one thing… I need the galleries to appear in descending order instead of the default ascending order. In other words, I want the newest galleries shown at the top of the list.

    Obviously, I could manually create a new album and then manually drag and drop new galleries in to the proper order in the “Manage Albums” window, but this would require regular upkeep, which currently I can avoid if I use the id=all attribute in the album shortcode.

    I also tried searching the plugin files for the proper instance to hack, but I wasn’t able to pinpoint an instance of “ASC” or “DESC” related to the album view specifically, but it’s possible I missed it.

    Otherwise, the plugin is working perfectly for my needs… seems like someone else would have encountered the same problem, but I didn’t find any when I searched the forums. Thanks again for any help or ideas.

    ~Ryan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ryanbednar

    (@ryanbednar)

    Update: Still no luck, but I’m learning quite a bit more about how everything else works… ??

    I’m continuing to search through the core functions to see if I can find the specific function that outputs the galleries (and their order) within an album… specifically an album that is created using:

    [album id=all]

    Surely I can’t be the first person to try to figure this out… but I’ll be sure to post the solution when I do. Thanks.

    You aren’t the only one. I need to do the exact same thing you are trying to do. Please post here if you figure it out. I’ll do the same.

    Thread Starter ryanbednar

    (@ryanbednar)

    Resolved: see link below

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] [album id=all] – need to sort the galleries in descending order’ is closed to new replies.