WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. fluvius
    Member
    Posted 6 years ago #

    Hi,

    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,
    Tony.

  2. arkix
    Member
    Posted 5 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
    Member
    Posted 5 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

Tags