Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » render_slideshow in 2..0.31

  • Resolved stephane LP

    (@passimal)


    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.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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);

    I found , only an echo !

    $widget = new C_Widget_Slideshow();
    echo $widget->render_slideshow($gallery_id=18, $width=135, $height=135);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘render_slideshow in 2..0.31’ is closed to new replies.