Using nextGen Gallery.. how can I call a list of all Gallery Names?
All your Galleries are stored a table called wp_ngg_gallery in your wordpress database. (For the sake of completeness: nextGen Gallery creates 2 more tables for albums and pictures, respectively) $gallery_ids = $wpdb->get_results( “SELECT gid FROM “.$wpdb->prefix.”ngg_gallery ORDER BY gid ASC”, ARRAY_A); fetches the IDs of all galleries into an array, ordered by ID from 1 … Read more