WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] NextGen Slideshow : add RTL support

[Plugin: NextGEN Gallery] NextGen Slideshow : add RTL support

  • Hi,
    It would be nice if you can add support for RTL languages
    for the ngg slideshow.
    Meaning, add the rev cycle option to the code in nggShow_JS_Slideshow function:

    $out .= “\n” . ‘jQuery(document).ready(function(){ ‘ . “\n” . ‘jQuery(“#’ . $anchor . ‘”).nggSlideshow( {‘ .
    ‘id: ‘ . $galleryID . ‘,’ .
    ‘fx:”‘ . $ngg_options[‘slideFx’] . ‘”,’ .
    ‘width:’ . $width . ‘,’ .
    ‘height:’ . $height . ‘,’ .
    ‘domain: “‘ . trailingslashit ( home_url() ) . ‘”,’ .
    ‘timeout:’ . $ngg_options[‘irRotatetime’] * 1000 .
    ‘rev:’ . is_rtl() ? 1 : 0 .
    ‘});’ . “\n” . ‘});’;
    $out .= “\n”.'</script>’;

    Thanks
    Itay

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

  • The topic ‘[Plugin: NextGEN Gallery] NextGen Slideshow : add RTL support’ is closed to new replies.
Skip to toolbar