How to have H1 for site title only on Homepage?

This is one way… <?php $headertag = ( is_front_page() ) ? ‘h1’ : ‘h6’; ?> <hgroup> <<?php echo $headertag; ?> class=”site-title”><a href=”https://wordpress.stackexchange.com/questions/88144/<?php echo home_url(“https://wordpress.stackexchange.com/” ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></<?php echo $headertag; ?>> <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2> </hgroup>

My CSS, footer and header don’t show up!

This is how your index.php and other public facing pages should be.. Don’t forget to add get_header() and get_footer() <?php get_header(); ?> <!– Row for main content area –> <div id=”content”> <div> <!– Main Content Loop HERE, or just use while have posts and get the content;..–> <?php get_template_part(‘loop’, ‘index’); ?> </div> </div><!– End Content … Read more

Have image slider display only on home page

Try this <?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id=”content”> * * @package GovPress */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title> <link rel=”profile” … Read more

Custom Header won’t Repeat

You are targeting #header img(incorrect) and using repeat-x without any background-image property. Use this CSS code: #header { background: rgba(0, 0, 0, 0) url(“http://playfulsstudio.com/wp-content/uploads/2015/05/cropped-playful-logo.jpg”) repeat-x scroll 0 0; }

How to laod wp_enqueue_style to another header i created my self

WordPress features a very robust template hierarchy that should be observed, take a look at wphierarchy.com. If you needed two header formats for some reason, you could create a file in the theme root called header-manga.php which you could then call in your page template with <?php get_header( ‘manga’ ); ?>. Once you have your … Read more

How change the header color?

(1) In your twentyten theme’s style.css file, find this rule: #access { background: #000; display: block; float: left; margin: 0 auto; width: 940px; } the black color comes from this property ang change it to your liking: background: #000; (2) In your twentyten theme’s style.css file, find this rule: #access a { color: #aaa; display: … Read more