Tag Info

New answers tagged

0

Ok solved. <?php if ( is_front_page() && !is_home() ) :?> <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <?php elseif ( is_home() && get_option('page_for_posts') ): ?> <h1><?php echo apply_filters('the_title',get_page( ...


0

You are probably looking for is_front_page(). See more details in the Codex: https://codex.wordpress.org/Function_Reference/is_front_page Sidenote: Be sure to read this on the difference between Blog Posts Index and Site Front Page. The part you want to change is this: [...] is_singular( array( 'page', 'sp_table', 'sp_list' ) ) && ...


0

CSS .home #masthead {display:none;} or PHP with the !is_front_page();



Top 50 recent answers are included