WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » [Resolved] [Plugin: NextGEN Gallery] nggSlideshow is not a function ( and register_sidebar)

[Resolved] [Plugin: NextGEN Gallery] nggSlideshow is not a function ( and register_sidebar)

  • Dear All,

    I tried to add a widget sidebar to my theme and as soon as I register it in functions.php I get the following error:

    <script typejQuery(“#ngg-slideshow-7-670-1”).nggSlideshow is not a function

    even thou ngg.slideshow.min.js is loaded.

    Anyone knows any reasons this could happen?
    I don’t know how do I debug that problem, just don’t see the link.

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

Viewing 1 replies (of 1 total)
  • After playing more with Sidebars, the problem disappear, probably because I was not specifying sidebar’s ids. With the following sidebar definition everything is fine:

    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'id' => 'rightsidebar',
    'name' => 'Right Sidebar',
    'description' => __( 'A sidebar on the right of content.' ),
    'before_widget' => '<li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2>',
    'after_title' => '</h2>',
    ));

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: NextGEN Gallery] nggSlideshow is not a function ( and register_sidebar)’ is closed to new replies.
Skip to toolbar