[resolved] How to hide page title on the home page (3 posts)

  1. fluvius
    Posted 8 years ago #


    After reading this post - http://wordpress.org/support/topic/145855 I think this advise is useful to me, but doesn't quite answer my problem; how to hide the page title only on the home page of my site.

    I tried substituting the word 'forum' in the post with 'home' (the title of my home page) but it doesn't work. I guess this is because when viewing the home page it doesn't appear in the address bar as [site url]/home/ but as [site url].

    How would I go about using this coding solution to resolve this issue?

    Hope this makes sense!

    Thanks in advance,

  2. arkix
    Posted 7 years ago #

    I get success by creating a new page template, without <?php the_title(); ?>

    Only create a new page.php file adding at the top this:

    <?php /*
    	Template Name: Page.php without title
    */ ?>

    Then you save into theme dir, and select it in editting page, and that's all.

    Greetings and sorry for my english

  3. sherrascott
    Posted 7 years ago #

    I was searching for answers to the same question. Your work around seems to have worked like a charm Arkix. Removes the page name from within the "page" section, but leaves it all intact for the menu bar, links, etc. Also does not remove blog post names on blog post pages. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic