WordPress.org

Ready to get started?Download WordPress

Forums

removing / hiding all "page title" on pages (12 posts)

  1. theserpent
    Member
    Posted 5 years ago #

    Hi,

    I'm making a website using wordpress , without the BLOG and using the PAGES only. (Mandigo theme website btw)

    I do not want to display the page title because they're esthetically irrelevant. (I basically want to edit the pages as if they were blank canvases..)

    I looked at different topics and tried a few but it wont work...
    I tried to edit the template page but not sure how to proceed, especially with mandigo theme.

    Thanks for help!

  2. theserpent
    Member
    Posted 5 years ago #

    any ideas?

  3. theserpent
    Member
    Posted 5 years ago #

    at all?

  4. kmessinger
    Volunteer Moderator
    Posted 5 years ago #

    You can look for this in the themes index.php file, <?php the_title(); ?> and delete but that will just take care of the main blog. Title would still show up in categories, etc. Maybe you can use that all the way thru but I think it may mess up permalinks.

  5. theserpent
    Member
    Posted 5 years ago #

    Thx! What should i do with : <?php the_title(); ?>
    remove it / edit it? i dont know much how to program php.

    also i think i still can edit the permalinks manually, i set it custom %slug% to use the slug name for SEO friendly URLs.

    do you think it'd mess the permalinks?

  6. kmessinger
    Volunteer Moderator
    Posted 5 years ago #

    You can look for this in the themes index.php file, <?php the_title(); ?> and delete

    do you think it'd mess the permalinks?

    I don't know

  7. theserpent
    Member
    Posted 5 years ago #

    thanks, it worked, and the permalinks seem unaffected!

  8. kjagen
    Member
    Posted 5 years ago #

    How can you remove just some titles. Replace them with graphics on some pages and have the standard title on others?

  9. theserpent
    Member
    Posted 5 years ago #

    i guess you can follow the guidance up there and simply add an image as the title!

  10. nikcree
    Member
    Posted 4 years ago #

    It is not generally a good idea to delete the code. It is better to comment it out (hide it) just in case you change your mind at a later date, or it mucks up your site. To do hide the title from appearing you simply change the following code in the page.php file in your theme:

    <?php the_title(); ?>

    to

    <!--?php the_title(); ?-->

    To see which WordPress theme file to edit and how to do this, there is a great video tutorial at:

    http://www.positivebusinessonline.com/hide-wordpress-page-title

  11. Edward Caissie
    Theme Review Admin
    Posted 4 years ago #

    Another method is to comment out the php function call itself:

    <?php // the_title(); ?>

    ... rather than wrapping the code in HTML comment tags.

  12. TheRealLoveGuru
    Member
    Posted 4 years ago #

    Thanks for posting this, and having such easy to understand directions on how to do this. I did it to all my sites and they look so much better.

    I used the <?php // the_title(); ?>

    Dr. Dan

    http://www.TheRealLoveGuru.com

Topic Closed

This topic has been closed to new replies.

About this Topic