• I’m wondering how I can modify the code so that different text will be displayed over the header instead of the site title. Specifically, I would like it to display the title of each page for normal pages, and the author for pages that show all posts by a particular author.

    Is there a plugin that I can install which enables this, or do I need to modify the code myself? The Dynamic Headers plugin appears to be only for changing the background image in the header, which is not what I want to do. I want the same image for every page, but different text superimposed on top of it for each page.

    Thanks for any suggestions or help that anyone can provide.

Viewing 1 replies (of 1 total)
  • Thread Starter estetson

    (@estetson)

    I’ve been able to get it to display the title of each page superimposed over the header masthead image, but I need it to only do that for blog post pages and for some specific static pages. For some other static pages, I need it to display the site title. For an author archive page, it needs to display the name of the author.

    Also, if a page has a parent page, I want it to display not only the page title but also the parent page title, like this: “Parent Title > Current Page Title”

    How can I specify each of these things in header.php using if statements?

Viewing 1 replies (of 1 total)
  • The topic ‘Change text displayed in header: page title or author name instead of site title’ is closed to new replies.