WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Problem with album query

[Plugin: NextGEN Gallery] Problem with album query

  • So i was working on query to list all the galleries available in an album, but sort them after the image id, to see the latest galleries updated so i tried this:

    $album->sortorder = serialize( $wpdb->get_col("SELECT pid FROM $wpdb->nggpictures ORDER BY pid DESC") );

    The problem is that it doesnt work completely. Some galleries adds them in a bad order, even if the id clearly is there, or doesnt even shows them at all.

    Any ideas guys?

    Thanks

    http://wordpress.org/extend/plugins/nextgen-gallery/

  • The topic ‘[Plugin: NextGEN Gallery] Problem with album query’ is closed to new replies.