WordPress.org

Support

Support » Themes and Templates » Remove page title in one page

Remove page title in one page

  • Hello

    Im trying to remove the page title in just one of my page in the theme EvoLve 2.0.7.

    Do one of you have a solutions for this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • you can do it with conditional tags in page.php

    <? php if (is_page('pageslug' )) { ?>
    // title removed
    <?php } else { ?>
    <h1><?php the_title(); ?></h1>
    <?php } ?>
    esmi

    @esmi

    Forum Moderator

    Far better to just hide it with CSS.

    OK. I’ll bite. How do you hide it with CSS?
    Thanks!

    Every Post or Page has n ID… find out the right id and edit your css…

    #post-THEPOSTID .entry-title {display: none; }

    maybe .entry-title isnt used in your theme… so it might be h1 or h2 or h3 or something else… i need to have a closer look to your blog for exact infos 😉

    Thanks, egado!

    I was looking for the same issue and luckily found this open thread.

    Every Post or Page has n ID… find out the right id and edit your css…

    I only have one page in my website, what should I look for in the css to hide the page title?
    And how/where do I retrieve the page ID?
    thanks

    Look for the page id in the html body tag class attribute. Start there then drill down to the h1 tag you want to hide. Do something like this in your css file:

    body.some-page-title .headline_area h1 {display: none;}

    This is version 3.3 and we still have to do this hack?? un-believable.

    Anagai, thanks it does work!

    This is version 3.3 and we still have to do this hack?? un-believable.

    Being a relatively new WP user I shouldn’t be entitled to judge but I agree with you; I would expect some options to be available as standard in the dashboard.
    For instance, I would say that font size should be made selectable as well.

    This is version 3.3 and we still have to do this hack?? un-believable.

    I think a backup/restore WORKING is more useful…just wait until you have to change ISP for your site and you will understand…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Remove page title in one page’ is closed to new replies.