WordPress.org

Ready to get started?Download WordPress

Forums

Scrappy
stopping double titles (2 posts)

  1. Krystle
    Member
    Posted 2 years ago #

    I created an about page and have contact me as a subpage. On the contact me page it shows the title as about-contact me. How do I just make pages show just the title of the current (i.e. contact me)?

    http://wordpress.org/extend/themes/scrappy/

  2. Caroline Moore
    Member
    Theme Author

    Posted 2 years ago #

    Hi there,

    First thing, I'd highly recommend creating a child theme for your customizations so they won't be overwritten by future theme updates. You can download a child theme template from my themes website (I don't know if I can post the URL here without it being considered spam? Anyone?) or you can create one using the instructions here: http://codex.wordpress.org/Child_Themes

    Once that's done, copy Scrappy's page.php into your child theme and remove the following, starting at line 14:

    <?php
    if( $post->post_parent ) {
    echo get_the_title( $post->post_parent ) . " - " ;
    } ?>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags