[resolved] Removing page titles (1 post)

  1. ivhero
    Posted 3 years ago #

    Hi all!

    I made this site - http://www.piearchitecture.com - using the Toolbox theme.

    I wanted to be able to remove the page title on the home page, so I wrote this php for the header:

    $title = get_the_title($id = 0);
    if ($title == "Home"){
    echo " ";
    echo $title;

    This works fine - it removes the page title of the home page, but leaves it all the others. I am using the News page as a blog, and would like to change the title of it too! At the minute, it displays the title of the latest post as the page title. I would like it to say either 'News' or nothing at all.

    My issue is, the name of the page seems to change everytime a new post is made.

    Can anyone help please?!

    ps - the news page is hidden now but can be seen here :

    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic