WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
add new gallery and images to nextgen in a plugin (2 posts)

  1. Karen Turner
    Member
    Posted 3 years ago #

    How can I add a new gallery and its images from a plugin which reads an xml feed.

    I have found :

    XML-RPC protocol support for NextGEN Gallery

    with
    $args = * @param array $args Method parameters.
    * - int blog_id
    * - string username
    * - string password
    * - string new gallery name
    newGallery($args);

    but I can't figure out how to use it.

    Can any one point me in the right direction. Thank you

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

  2. Karen Turner
    Member
    Posted 3 years ago #

    This does not work, but I still can not find a way to simply create a gallery in nextgen, without using the interface.

    $defaultpath = 'wp-content/gallery';
    $title =$newgallery = esc_attr( 'wpwtest' );
    nggAdmin::create_gallery($title, $defaultpath);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.