WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. passimal
    Member
    Posted 9 months 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. passimal
    Member
    Posted 9 months 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. passimal
    Member
    Posted 9 months ago #

    I found , only an echo !

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

Reply

You must log in to post.

About this Plugin

About this Topic