Access nextgen galleries from php code
-
Hi,
I need to access photos in a gallery from php code.
I found the following solution:<?php require_once( $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php' ); $gallery_id = 1; $imagegallery = new nggdb(); $images = $imagegallery->get_gallery(1);Is it correct? I see that the nggdb class is in the legacy folder, is there a new mode to get the job done?
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Access nextgen galleries from php code’ is closed to new replies.