Some header buttons and scripts not working only on home page.
-
[ Moved to the Fixing WordPress sub-forum. ]
I added the Facebook SDK and the Facebook page scripts and the Facebook like and share buttons. I added the html in the header.php file of my MikMag Theme from theme dutch. Here is what i did:
<body <?php body_class(); ?>>core_theme_hook_in_header();
?></header><!– ends here #header –>
<div id=”container” class=”<?php container_class(); ?>”>
<?php core_theme_hook_before_wrapper(); ?>
<div id=”wrapper” class=”theme-row clearfix”>
<?php core_theme_hook_before_content(); ?>
<!– these are where i added the buttons and google translate –>
<div style=”float:right;”><?php echo do_shortcode(‘[google-translator]’); ?></div>
<div class=”fb-send” data-href=”https://facebook.com/tattoocalypso/”></div>
<div class=”fb-like” data-href=”https://facebook.com/tattoocalypso” data-width=”500″ data-layout=”button_count” data-action=”like” data-size=”small” data-show-faces=”false” data-share=”true”></div>I didn’t include the SDK in this post as it was a lot higher in the scripts.
This way the buttons are visible on all pages. I had every thing working before the mikmag update. Now the buttons are there but they only work on all the other pages except the welcome page.(The Facebook page html scripts on the same page at the bottom work as we can see the page widget). The buttons don’t even rollover or nothing not clickable unless you change page.Do you know what could be causing this?
- The topic ‘Some header buttons and scripts not working only on home page.’ is closed to new replies.