WordPress.org

Forums

NextGEN Gallery
[resolved] render_slideshow in 2..0.31 (3 posts)

  1. stephane LP
    Member
    Posted 1 year ago #

    Hello

    Before I use this code ( <1.9.13)

    if (function_exists("nggSlideshowWidget"))
    {
    nggSlideshowWidget($galleryID=18,$Width=135,$Height=135);
    }

    Now i must you this code : (>2.0.31)

    $widget = new C_Widget_Slideshow();
    		$widget->render_slideshow($gallery_id=18, $width=135, $height=135);

    But it doesnt work well ...

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

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  2. stephane LP
    Member
    Posted 1 year ago #

    I used my old code in my sidebar1.php in my directory theme but since 2.0.31 I don't know exactly hot to use this code

    $widget = new C_Widget_Slideshow();
    $widget->render_slideshow($gallery_id=18, $width=135, $height=135);
  3. stephane LP
    Member
    Posted 1 year ago #

    I found , only an echo !

    $widget = new C_Widget_Slideshow();
    echo $widget->render_slideshow($gallery_id=18, $width=135, $height=135);

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic