Ready to get started?Download WordPress


Location of the title on a "page" (6 posts)

  1. fodden
    Posted 8 years ago #

    I'm using the "Write / Page" function to create a page. But the page title always appears at the very top of the page. I'd like to have a navigation bar go ahead of the page title. Is there a way to cause the page title for this page to present below my navbar? I tried removing the title altogether; the slug still gives the url an identity, of course, but there's no page title at the top of the browser.

  2. Kafkaesqui

    Posted 8 years ago #

    Does your theme come with a page.php template? You could edit that to remove <?php the_title(); ?> from it, move it to where you want it located, and so on.

  3. fodden
    Posted 8 years ago #

    Thanks, Kafkaequi. I'm using a turn on the Kubrick theme. Thing is, I want the title to be in a different location only on some pages, but not on others. Any way to deal with this?

  4. Kafkaesqui

    Posted 8 years ago #

    Yep. Create a custom Page template with the "title mod" you're after, then assign the template to those Pages you want displaying the title differently:


  5. fodden
    Posted 8 years ago #

    Many thanks. I guess I'd been avoiding getting into page templates without quite realizing it. Your patience is appreciated, believe me.

  6. fodden
    Posted 8 years ago #

    Just one more thought, though: the method of creating a new page template works just fine; the only thing is that I'm going to have to multiply the page templates a lot. What I really would like is the ability to cause a new input box to arise in the Write / Pages screen -- e.g. an empty <div></div>. As it is, I have to hard code my menu into my template (to get it above the page title) and need a different template for each nuance, let alone each different menu.

    I wish I knew (some, any) PHP, because I suspect that it wouldn't be all that hard to create.

    Anyhow, thanks again for the useful help.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.