WordPress.org

Ready to get started?Download WordPress

Forums

Responsive NextGEN Flex Slider Template
[resolved] Slider not showing (11 posts)

  1. carovienna
    Member
    Posted 1 year ago #

    Hi, have just installed nextgen flex slider template and used one of my nextgen galleries for test http://sisonke-design.com/webdesign/ but it is not showing? I have also installed plugin wp boxer. could it be that the plugins dont work together? please help.. thanks..

    http://wordpress.org/extend/plugins/nextgen-flex-slider-template/

  2. carovienna
    Member
    Posted 1 year ago #

    yes, i included a link to my site
    'http://sisonke-design.com/webdesign/'

  3. Mohsin Rasool
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, you are right. boxer.custom.js raising following exception

    Uncaught TypeError: Object function ( selector, context ) {
    		// The jQuery object is actually just the init constructor 'enhanced'
    		return new jQuery.fn.init( selector, context, rootjQuery );
    	} has no method 'featureList'

    at Line no 7 that stopped execution of remaining javascript code causing slider not to work. If you disable it, or fix this error. your slider will start working.

  4. carovienna
    Member
    Posted 1 year ago #

    Hi, thanks a lot for your reply. unfortunately problem is not yet solved.. i deleted the wp boxer plugin. And installed Boxify plug in instead. i deactivated also boxify to see if then the nextgen flex slider would work, but it didnt help. Please tell me if there is something to change for the BOXIFY plugin which i would like to keep.. thanks a lot!!

  5. carovienna
    Member
    Posted 1 year ago #

    Hi again, i am getting this bug message:

    TypeError: $(...).flexslider is not a function
    http://sisonke-design.com/webdesign/
    Line 118

    <script type="text/javascript" defer="defer">
    jQuery(document).ready(function($) {
    $('.flexslider').flexslider({
    slideshowSpeed: 7000, directionNav: true, controlNav: true, pauseOnHover:true

  6. carovienna
    Member
    Posted 1 year ago #

    it looks like it is conflicting with the theme used: PhotoGrid Free Responsive Theme http://www.dessign.net/photo-grid-responsive-theme/ and with the js jquery-latest.js ?? I just have no idea how to change this..
    the "Normal" nextgen gallery works fine with this theme..

  7. carovienna
    Member
    Posted 1 year ago #

    Hi.. just to check, i installed a test account http://test.sisonke-design.com/?p=6 and realized that the problem ist the theme as i thought.. The photogrid responsive theme doesnt work with the your plugin. Is there any way i can change the js script so that both work? would be very grateful four your assistance! thanks a lot..

  8. Mohsin Rasool
    Member
    Plugin Author

    Posted 1 year ago #

    Actually, theme does not comply with the WordPress guidelines. It is loading its own jQuery javascript without removing or overriding WordPress 's jQuery. I believe, not only flex slider any jQuery based plugin that loads its javascript files at header would not work. To fix it,

    1. Remove following code from theme's header.php
    <script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-latest.js" type="text/javascript"></script>

    2. Add following code to your functions.php

    function override_jquery(){
      if (!is_admin()) {
        wp_deregister_script('jquery');
        wp_register_script('jquery', get_bloginfo('stylesheet_directory').'/js/jquery-latest.js', '', '1.7.2', false);
      }
    }
    add_action('wp_enqueue_scripts', 'override_jquery', 100);

    This code is not tested but something like this would solve the problem. It actually, remove the WordPress's jquery instance and replace it with the theme's instance.

    Hope it will work for you.

    Good Luck!

  9. carovienna
    Member
    Posted 1 year ago #

    your re a star!! thanks,it works.. thanks a lot!!

  10. carovienna
    Member
    Posted 1 year ago #

    great -topic resolved :-)

  11. carovienna
    Member
    Posted 1 year ago #

    sorry.. am back again..first it worked fine with the amendments in the header and function php,but now on the test site http://test.sisonke-design.com/i am getting error posts:

    Warning: Cannot modify header information - headers already sent by (output started at /home/sisonked/public_html/test/wp-content/themes/photogridthemeRes/functions.php:434) in /home/sisonked/public_html/test/wp-includes/pluggable.php on line 876

    when i try to modify anything in the post..

    what i tried to do was to insert more sliders. does it work to have more sliders in one blog? And can the size be different,when i change the size in the backend "NextGen slider options" it affects all sliders in the blog..
    your help is greatly appreciated..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.