Support » Theme: Magazine Basic » Remove entry title from static front page ONLY?

  • Resolved mcmoran


    I am using the latest version (3.0.2) of the Magazine Basic theme. My home page is a static front page called “Home”:


    How do I remove the entry title (“Home”) from this page only?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author c.bavota


    If you want to remove titles from all pages just delete the title in content-page.php. If you only want to remove for the front page you need to look at using the is_front_page() conditional.

    Review body_class()

    and in the Custom CSS option (if provided by the theme or use a plugin one) or in the style.css of your child theme put something like this:

    .page-id-152 .entry-title {
    	position: absolute !important;
    	clip: rect(1px 1px 1px 1px); /* IE7 */
    	clip: rect(1px, 1px, 1px, 1px);

    page-id-xx is the id of the page, see more classes in body_class()‘s doc above.

    Thank you!

    I replaced

    <h1 class="entry-title"><?php the_title(); ?></h1>


    <?php if ( !is_front_page() ) :?><h1 class="entry-title"><?php the_title(); ?></h1><?php endif;?>

    and it worked.

    and now you lose H1 for front landing page for no reason, better hide it visually and use something meaningful to the site for that page name.



    Sorry, but I’m new to this. Could someone please tell me where I find this code that we’d need to modify? For example, where do I find “content-page.php” ? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove entry title from static front page ONLY?’ is closed to new replies.