Hide Page Titles

  • Author
    Posts
  • #672284

    Hiya.

    Just trying to find a way of hiding the Page Titles from showing up when the page is displayed. I don’t mind the post titles from being displayed in each post, but just want to hide page titles from showing up. Any suggestions? theme being used is Under the Influence and blog is thathungrychef.com.

    Many thanks
    P

    The blog I need help with is thathungrychef.com.

    #672407

    timethief
    Member

    Does this help?

    The tab in the top nav menu doesn’t have to be the actual page title, so here’s what you can do:
    Edit the pages and delete their titles.
    Go to Appearance > Menus and create a custom menu. Select your (now nameless) pages from the Pages module, click Add to Menu.
    Click the arrow at the right side of each page module to open it, type the title in the Navigation Label field. Click Save Menu, select the menu from the Theme Locations pulldown, click Save.

    https://en.forums.wordpress.com/topic/duster-theme-double-headers?replies=5#post-616357

    #672415

    I’m guessing this will not affect SEO/RSS or any other feeds etc that rely on page titles?

    #672416

    timethief
    Member

    I’m sorry but I don’t know if it will or not. What’s above and what’s at this reference link is all I’m aware of http://en.support.wordpress.com/pages/page-title-url/

    #672418

    cool. thanks. will give it a go and see.

    #672437

    To hide the page titles if you have the Custom Design upgrade, add this to your CSS:
    .singlepage h2 {display:none;}

    #672443

    thanks for that!

    #672448

    Works a charm!

    #672626

    Hi again,

    That code hides the page titles, but also the post titles. Any way to work around this so the post titles do show?

    ta.

    #672627

    I don’t see any posts on your site, so I used one of my test blogs and set it to under the influence. Give this a try.

    .page h2 {
    display: none;
    }
    #672628

    Oh there definitely are posts! All the titles under UK restaurants and Recent Grazings are posts.

    Will try that code.

    thanks.

    #672629

    That one also removes the titles of sidebar widgets.

    #672630

    What an absolutely bizarre theme. Third time’s a charm?

    .singlepage .page h2 {
    display: none;
    }
    #672631

    Hurrah! Third time lucky indeed! thanks a ton!

    #672632

    You are welcome. I’m going to have to look around in under the influence. The CSS appears to be quite weird in some respects.

    #672633

    cool cool. I’m sure I’ll hark back to you at a later stage!

The topic ‘Hide Page Titles’ is closed to new replies.