Ask your WordPress questions! Pay money and get answers fast! (more info)

Homepage slider is gone WordPress

  • SOLVED

Hello,

I have a problem with my slider on the homepage. It's gone. I've checked for a long time but I cant find out what is the problem. If anyone can help would be very appreciated.

http://www.thepremierleague.eu

Thanks in advance,

Laurent

Answers (2)

2013-05-15

Dbranes answers:

You can try to upgrade your jquery-ui:

Try

<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js?a"></script>

instead of

<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js'></script>


ps: you have a javascript error that is must likely stopping your slider:

Uncaught TypeError: Object function (h,g,i){var b=h.split(".")[0],f;h=h.split(".")[1];f=b+"-"+h;if(!i){i=g;g=a.Widget}a.expr[":"][f]=
function(j){return!!a.data(j,h)};a[b]=a[b]||{};a[b][h]=function(j,l){arguments.length&&this._createWidget(j,l)};g=new g;g.options=a.extend(true,{},g.options);a[b][h].prototype=a.extend(true,g,{namespace:b,widgetName:h,widgetEventPrefix:a[b][h].prototype.widgetEventPrefix||h,widgetBaseClass:f},i);a.widget.bridge(h,a[b][h])} has no method 'extend' jquery.ui.widget.min.js:5


TPLANGE comments:

Hello Branes, thanks. Where can I find all of this and update the jquery ?


Dbranes comments:

Check the <em>header.php</em> in your current theme directory:

/wp-content/themes/reviewit/


Dbranes comments:

It looks like there is a plugin adding this to your page.

It could be: the plugin wp-ui

http://wordpress.org/extend/plugins/wp-ui/

Try to disable it or upgrade it.


TPLANGE comments:

I have this in header.php :

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> class="no-js">
<head>
<meta charset=<?php bloginfo('charset'); ?> />

<script src="calendar/javascript/jquery-1.4.2.min.js"></script>
<link media="screen" rel="stylesheet" href="calendar/stylesheets/colorbox.css" />
<link media="screen" rel="stylesheet" href="calendar/stylesheets/monthstyles.css" />
<script type="text/javascript" src="calendar/javascript/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="calendar/javascript/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="calendar/javascript/behavior.js"></script>

<title><?php bloginfo('name'); ?> | <?php is_home() || is_front_page() ? bloginfo('description') : wp_title(''); ?></title>

<?php require(ghostpool_inc . 'options.php'); ?>

<?php wp_head(); ?>

<?php require(ghostpool_scripts . 'custom.php'); ?>
<?php require(ghostpool_inc . 'page-styling.php'); ?>


</head>

<!--[if lte IE 6]>
<style>#left, #right { display: none; }</style>
<![endif]-->
<![if !IE]>
<body <?php body_class($ios_class.$layout.$padding.$frame); ?>>
<![endif]>
<!--[if gt IE 8]>
<body <?php body_class('ie9 '.$ios_class.$layout.$padding.$frame); ?>>
<![endif]-->
<!--[if lt IE 9]>
<body <?php body_class('ie8 '.$ios_class.$layout.$padding.$frame); ?>>
<![endif]-->


<!--Begin Page Wrapper-->



<div id="page-wrapper">





<!--Begin Profile Links-->


<!--End Profile Links-->


<!--Begin Header Top-->


<div id="header-top">



<!--Begin Logo-->





<!--End Logo-->

<!--Begin Nav-->
<div id="nav">
<span id="nav-left"></span>
<?php wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&fallback_cb=null'); ?>
</div>
<!--End Nav-->
<!--Begin Descr-->


<!--End Descr-->


<?php //get_search_form(); ?>

</div>
<!--End Header Top-->

<!--Begin Slider-->
<?php if(function_exists('bp_get_options_nav') && !bp_is_blog_page()) {} else { if((is_home() && $theme_slider_display == "Homepage") OR $theme_slider_display == "All Pages" OR is_page(explode(',',$theme_slider_pages)) OR is_single(explode(',',$theme_slider_posts))) { require('slider.php'); } } ?>
<!--End Slider-->

<!--Begin Header Bottom-->
<div id="header-bottom">

<div id="display-options">
<?php if((is_home() && $theme_homepage_buttons == "0") OR (is_category() && $theme_cat_buttons == "0") OR (is_page_template('blog.php') && $theme_blog_buttons == "0") OR (is_tax('review_categories') && $theme_review_cat_buttons == "0")) { ?>
<a id="display-compact"></a><a id="display-extended"></a>
<?php } ?>&nbsp;
</div>

<?php if(!is_home()) { if($theme_breadcrumbs == "1") {} else { ?><div id="breadcrumbs"><?php echo the_breadcrumb(); ?></div><?php }} ?>

<!--Begin Social Icons-->
<div id="social-icons">
<?php if($theme_email) { ?><a href="mailto:<?php echo($theme_email); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_email.png" alt="<?php _e('Email', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_rss_button == "0") { ?>
<a href="<?php if($theme_rss) { ?><?php echo($theme_rss); ?><?php } else { ?><?php bloginfo('rss2_url'); ?><?php } ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_rss.png" alt="<?php _e('RSS Feed', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_twitter) { ?><a href="<?php echo($theme_twitter); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_twitter.png" alt="<?php _e('Twitter', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_myspace) { ?><a href="<?php echo($theme_myspace); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_myspace.png" alt="<?php _e('MySpace', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_facebook) { ?><a href="<?php echo($theme_facebook); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_facebook.png" alt="<?php _e('Facebook', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_digg) { ?><a href="<?php echo($theme_digg); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_digg.png" alt="<?php _e('Digg', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_flickr) { ?><a href="<?php echo($theme_flickr); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_flickr.png" alt="<?php _e('Flickr', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_delicious) { ?><a href="<?php echo($theme_delicious); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_delicious.png" alt="<?php _e('Delicious', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_youtube) { ?><a href="<?php echo($theme_youtube); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_youtube.png" alt="<?php _e('YouTube', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php if($theme_googleplus) { ?><a href="<?php echo($theme_googleplus); ?>"><img src="<?php echo get_template_directory_uri(); ?>/lib/images/social_googleplus.png" alt="<?php _e('Google+', 'gp_lang'); ?>" rel="nofollow" target="_blank" /></a><?php } ?>
<?php echo stripslashes($theme_additional_social_icons); ?>
</div>
<!--End Social Icons-->

</div>
<!--End Header Bottom-->

<!--Begin Content Wrapper-->
<div id="content-wrapper">


TPLANGE comments:

Oh, I desactivated WP UI and its working now !
Much thanks :)


Dbranes comments:

ok great, your slider looks ok now ;-)

ps: you have lot's of javascript files loading on your site, you should see if you can remove some of them.


TPLANGE comments:

Is there any easy way to delete the one I'm not using ?


Dbranes comments:

Try to uninstall plugins that you don't need but are installed.

For example I'm not sure you need these files in your <em>header.php</em> file:

<script src="calendar/javascript/jquery-1.4.2.min.js"></script>
<link media="screen" rel="stylesheet" href="calendar/stylesheets/colorbox.css" />
<link media="screen" rel="stylesheet" href="calendar/stylesheets/monthstyles.css" />
<script type="text/javascript" src="calendar/javascript/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="calendar/javascript/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="calendar/javascript/behavior.js"></script>

2013-05-15

Hariprasad Vijayan answers:

Hello Laurent,

Which plugin that you are using for home page slider?


TPLANGE comments:

Hello man,

It comes from the theme "Review it", its included in it I think, I dont have any particular plugin installed for that.


Hariprasad Vijayan comments:

Okay... Have you installed any plugins recently?


TPLANGE comments:

Hm no, I just uploaded some plugins like Askmit


TPLANGE comments:

Oh, I desactivated WP UI plugin and its working now ! Probably came from the update.
Much thanks :)