However, I no longer have the issue with Javascript and Modernizr (with the theme update)
I tried to update my theme… It’s a disaster…
Everything has change… I can’t let this new theme. It give me too much time to put in place the same options and layouts than the previous version.
I will try to disable the plugin one by one to find the issue
Hi Alin, thanks for the reply,
In fact I’d like to update the theme, but do you think this could change the entire layout of my pages?
Thanks.
Thanks for your reply.
I will try it, but 1 week ago, everything worked. I did not install new plugin.
Ok, it’s work ! Thanks !
I have found :
In the file parts/header-style-1.php :
<div class="span8" id="td-header-widget">
<?php
// Header Widget
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("td-header-widget") ) :
endif;
?>
</div>
<div class="span8">
<?php
// show the header ad spot
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header'));
?>
</div>
I have add this code in functions.php
register_sidebar(array(
'name'=>'Header Widget',
'id' => 'td-header-widget',
'before_widget' => '<div id="td-header-widget">',
'after_widget' => '</div>',
'before_title' => '<div class="block-title"><span>',
'after_title' => '</span></div>'
));
And I add thic code in header.php
default:
// this is the default header configuration
// (logo + ad) + menu
locate_template('parts/header-style-1.php', true);
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("td-header-widget") ) :
endif;
locate_template('parts/menu-header.php', true);
break;
it works, but is it like that I should do?
Problem solved !
Thanks for your answer !
You’re right ! I thought that the widget Block 2 means Module 2… but no
Yes, I mean autoslide.
Thanks for your option but I talk about homepage and not widget.
http://www.screencast.com/t/QmHnrquQ