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 custom_post_type does not appear in my web page…how?

It sounds like you want to hook into pre_get_posts for the blog index. The following should only effect the blog index. That is what is_home() is for. Of course, you can edit the function to alter that behavior if you want. function add_post_type_to_index_wpse_88317($qry) { if (is_home()) { $qry->set(‘post_type’,array(‘post’,’movies_cp’)); // plus any others you want. } … Read more

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

Creating an accordion style menu

The code for WordPress would be: wp_nav_menu() for custom nav menus wp_page_menu() as the default fallback for custom nav menus wp_list_pages() for a list of static pages See the linked Codex pages for the various parameters to pass to each, and the CSS classes output by each.