WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Slider not showing

[Resolved] Slider not showing

Viewing 10 replies - 1 through 10 (of 10 total)
  • carovienna
    Participant

    @carovienna

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

    Plugin Author Mohsin Rasool
    Participant

    @mohsinrasool

    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.

    carovienna
    Participant

    @carovienna

    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!!

    carovienna
    Participant

    @carovienna

    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

    carovienna
    Participant

    @carovienna

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

    carovienna
    Participant

    @carovienna

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

    Plugin Author Mohsin Rasool
    Participant

    @mohsinrasool

    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!

    carovienna
    Participant

    @carovienna

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

    carovienna
    Participant

    @carovienna

    great -topic resolved 🙂

    carovienna
    Participant

    @carovienna

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Slider not showing’ is closed to new replies.