slideshow on header page on Hatch Theme
-
Hi!
First of all, I want to thank you for your work and support!!
I was watching your video tutorial on Vimeo, becouse I really want to have a slide show on my Header page on my blog, instead of an static photo. I made succesfully an slideshow as a normal page, but when I come to the part in which I have to change the archive header.php, I′m afraid to do do something wrong. I′m new in this, I learn slow by myself. The problem is that my header.php archive doesn′t look that the one you show in the video, so, I don′t know exactly which part I have to remove.
This is the hatch theme, this is my web: https://www.nachogoytre.com and this is the code I see in the header.php archive:<?php
/**
* Header Template
*
* The header template is generally used on every page of your site. Nearly all other templates call it
* somewhere near the top of the file. It is used mostly as an opening wrapper, which is closed with the
* footer.php file. It also executes key functions needed by the theme, child themes, and plugins.
*
* @package Hatch
* @subpackage Template
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv=”Content-Type” content=”<?php bloginfo( ‘html_type’ ); ?>; charset=<?php bloginfo( ‘charset’ ); ?>” />
<meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″><!– Mobile viewport optimized –>
<meta name=”viewport” content=”width=device-width,initial-scale=1″><?php if ( hybrid_get_setting( ‘hatch_favicon_url’ ) ) { ?>
<!– Favicon –>
<link rel=”shortcut icon” href=”<?php echo esc_url( hybrid_get_setting( ‘hatch_favicon_url’ ) ); ?>” />
<?php } ?><!– Title –>
<title><?php hybrid_document_title(); ?></title><!– Stylesheet –>
<link rel=”stylesheet” href=”<?php echo get_stylesheet_uri(); ?>” type=”text/css” /><link rel=”profile” href=”https://gmpg.org/xfn/11″ />
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” /><!– WP Head –>
<?php wp_head(); ?></head>
<body class=”<?php hybrid_body_class(); ?>”>
<?php do_atomic( ‘open_body’ ); // hatch_open_body ?>
<div id=”container”>
<div class=”wrap”>
<?php do_atomic( ‘before_header’ ); // hatch_before_header ?>
<div id=”header”>
<?php do_atomic( ‘open_header’ ); // hatch_open_header ?>
<div id=”branding”>
<?php hatch_site_title(); ?>
<?php hybrid_site_description(); ?>
</div><!– #branding –>
<?php get_template_part( ‘menu’, ‘primary’ ); // Loads the menu-primary.php template. ?>
<?php do_atomic( ‘header’ ); // hatch_header ?>
<?php do_atomic( ‘close_header’ ); // hatch_close_header ?>
</div><!– #header –>
<?php do_atomic( ‘after_header’ ); // hatch_after_header ?>
<?php do_atomic( ‘before_main’ ); // hatch_before_main ?>
<div id=”main”>
<?php do_atomic( ‘open_main’ ); // hatch_open_main ?>
If you can help me, would be really really great!!
Thanks a lot from another noobie!!
- The topic ‘slideshow on header page on Hatch Theme’ is closed to new replies.