[Plugin: Meteor Slides] Cannot find place to put the Slideshow codes in the header
-
Am using Weaver PRO Admin and cannot find place in header.php code to put the Meteor Slideshow codes.
It is a responsive site so code is:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser. Or use pastebin.com instead. ]
<header id="branding" role="banner"> <?php /* ======== SITE LOGO and TITLE ======== */ $title = (weaverii_getopt('_wii_mobile_site_title') && weaverii_use_mobile('mobile') ) ? esc_html(weaverii_getopt('_wii_mobile_site_title')) : esc_attr( get_bloginfo( 'name', 'display' ) ); ?> <div id="site-logo"<?php weaverii_hide_site_title();?>></div> <div id="site-logo-link" onclick="location.href='<?php echo home_url( '/' ); ?>';" <?php weaverii_hide_site_title();?>></div> <?php $h_class = ' class="title-description"'; if (weaverii_getopt('wii_hide_site_title') || weaverii_is_checked_page_opt('ttw-hide-site-title')) { if (!weaverii_use_mobile('mobile') || weaverii_getopt('wii_hide_site_title_mobile')) { $h_class = ''; } } if (weaverii_getopt('wii_title_over_header') || weaverii_getopt('wii_desc_over_header')) $h_class = ''; ?> <hgroup<?php echo $h_class; ?>> <h1 id="site-title"<?php weaverii_hide_site_title();?>><span><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php echo $title; ?></a></span></h1> <h2 id="site-description"<?php weaverii_hide_site_title();?>><?php bloginfo( 'description' ); ?></h2> <?php if (($extra = weaverii_getopt('wii_header_html')) != '') { ?> <div id="header-extra-html"<?php weaverii_hide_site_title();?>><?php echo do_shortcode($extra); ?></div> <?php } ?> </hgroup> <?php if (weaverii_getopt('wii_top_menu_before_header') && !weaverii_getopt('wii_top_menu_before_wrapper')) get_template_part('nav','top'); weaverii_mobile_toggle('header'); // display toggle button weaverii_inject_area('header'); // inject header HTML get_sidebar('header'); weaveriip_header_insert(); // add W-II Pro injection /* The Dynamic Headers shows headers on a per page basis - will also optionally add site link */ if (function_exists('show_media_header')) show_media_header(); // Plugin support: **Dynamic Headers** /* ======== HEADER IMAGE ======== */ global $weaverii_header; if ( !( weaverii_is_checked_page_opt('ttw-hide-header-image') && !is_search() ) && !( weaverii_getopt_checked('wii_normal_hide_header_image') && !weaverii_use_mobile('mobile') ) && !( weaverii_getopt_checked('wii_mobile_hide_header_image') && weaverii_use_mobile('mobile')) || ( weaverii_getopt_checked('wii_ipad_show_header_image') && weaverii_use_mobile('tablet')) ) { if ( !weaverii_getopt_checked('wii_hide_header_image') && !(weaverii_getopt('wii_hide_header_image_front') && (is_front_page() || is_home()) ) ) { echo("\t\t<div id=\"header_image\">\n"); if (weaverii_getopt('wii_link_site_image')) { ?> <a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <?php } global $weaverii_header; /* Check if this is a post or page, if it has a thumbnail, and if it's a big one */ if ( is_singular() && !(weaverii_use_mobile('mobile') && weaverii_getopt('wii_hide_mobile_fi')) && !weaverii_getopt('wii_hide_featured_header') && has_post_thumbnail( $post->ID ) && ($image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ) ) /* $src, $width, $height */ && $image[1] >= $weaverii_header['width'] ) { echo get_the_post_thumbnail( $post->ID, 'full' ); } else { if (weaverii_use_mobile('mobile') && weaverii_getopt('_wii_mobile_header_url')) { echo '<img src="' . esc_attr(weaverii_getopt('_wii_mobile_header_url')) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" />' . "\n"; } else if (weaverii_use_mobile('tablet') && weaverii_getopt('_wii_mobile_tablet_header_url')) { echo '<img src="' . esc_attr(weaverii_getopt('_wii_mobile_tablet_header_url')) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" />' . "\n"; } else if (($alt_img = weaverii_getopt('wii_alt_header_img')) != '') { if (strstr($alt_img,'<img') === FALSE) echo '<img src="' . esc_attr($alt_img) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" />' . "\n"; else echo esc_attr($alt_img); } else { $hdr = get_header_image(); if ($hdr) { ?> <img src="<?php echo $hdr ?>" width="<?php echo $weaverii_header['width']; ?>" height="<?php echo $weaverii_header['height']; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /> <?php } else { echo '<div class="weaver-clear"></div>'; // needs a clear if not an img } } } if (weaverii_getopt('wii_link_site_image')) echo("</a>\n"); /* need to close link */ echo("\t\t</div><!-- #header_image -->\n"); } /* closes header > 0 */ } /* end wii_hide-header-image */ /* ======== BOTTOM MENU ======== */ ?> </header><!-- #branding --> <?php get_template_part('nav','bottom'); } // end hide-header if (weaverii_getopt_checked('wii_header_first')) echo "<div id=\"wrapper\" class=\"hfeed\">\n"; ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Meteor Slides] Cannot find place to put the Slideshow codes in the header’ is closed to new replies.