WordPress.org

Ready to get started?Download WordPress

Forums

Vantage
[resolved] How do I remove the page titles in vantage theme (4 posts)

  1. steve.adamson@artseminaries.or
    Member
    Posted 9 months ago #

    I want to remove he page title from appearing on all my pages (not the home but the other pages). It is already in the menu need to get read of the page title appearing again on each page.

    artseminaries.org/blog

  2. lettergrade
    Member
    Posted 9 months ago #

    This should do the trick for you:

    1. Create a child theme. (VERY IMPORTANT, so the parent theme is secure and your changes are not lost when the theme is updated in the future.)

    2. Make a copy of the parent theme's content-page.php file in your child theme.

    3. Remove the following code from that file (in your child theme, not the parent!)

    <header class="entry-header">
          <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'vantage' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
        </header><!-- .entry-header -->

    Fini!

    (One side note warning: there's a lot of debate about how important that h1 tag is for search engines, and whether removing it or hiding it will affect you. A google search will bring up tons of sites arguing about this that you can read.)

  3. steve.adamson@artseminaries.or
    Member
    Posted 9 months ago #

    Thanks, that did the trick!

  4. lettergrade
    Member
    Posted 9 months ago #

    Glad to hear it.

Reply

You must log in to post.

About this Theme

About this Topic