• Hi

    ok, i’m entering site pointer.co.id

    look… the site doesn’t has any page title.

    they use nova template.

    anyone know how to hide each page title?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can use jQuery or CSS.

    if you want to remove the page title instead of hiding it, you can also edit page.php (if the theme has this template – otherwise see http://codex.wordpress.org/Template_Hierarchy ) and remove the title code from the template.

    you can edit/add the following code in you header.php

    <?php // get_template_part(‘includes/header-title’); ?>

    all page title will not displayed..

    Hey there,

    I am using wp installed by default Twenty Twelve theme, and I ran into the same issue so I figured out that the easiest way is the following:
    Appearance > Editor > content-page.php (on the right side bar)>
    Find: this html statement
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    and simply comment it out.
    <!–<h1 class=”entry-title”><?php the_title(); ?></h1>–>

    Note: Not sure if this would apply to all themes.

    Let me know if this helps
    Thanks

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    You really don’t want to do that, you’ll just lose your changes when Twenty Twelve gets updated.

    If you really want to hide that in Twenty Twelve create a child theme instead. You can even download one setup for already.

    Once you’ve got your child theme activated and running then copy the original content-page.php file into the child theme directory and edit that copy instead.

    Note: I don’t think that’s the right way to hide titles like that but it’s better then editing the original theme files.

    Hello,
    There’s a very easy way I follow, when I need to hide it.
    1. Go to your Post/Page.
    2. View Source Code of it.
    3. Ctrl+F and type your Post/Page title and search.
    4. Then you’ll come to a line like below
    <h1 class="entry-title">Post/Page Title</h1>

    5. Above entry-title is the class we need.
    6. Now Go to your Theme Editor ► Style.css.
    7. Ctrl+F type ‘entry-title’ and search.
    8. If there’s no such a class. Just paste this code there and save.

    .entry-title {
           display:none;
    }

    9. Now Post/Page title should be hide..!

    Hope this will help you. In my case that class was ‘entry-title’ all the time. So if it changes in the step 4, just replace ‘entry-title’ with that class.

    [ signature removed ]

    Thanks scorpiongod, that was great!
    But what if I just want to hide a title in a particular page, not in all pages?

    For example, I have a website menu made of page titles, but I’d like to hide one of these titles in my homepage. In this case, it would be the “home” that I’d like to hide, only in the homepage.

    ?!

    thanks in advance anyone!

    Hi,
    That also can be done. Most of the time there is an ID or Class for each menu item. You can find it by using Firebug or looking in the Source Code.

    Once you find it, add the code.

    #ID or .Class {
            display: none;
    }

    This can be done easily with WP Custom Menu. Try and let us know.
    Good Luck!

    [links removed – please do not post links to your site per the forum guidelines]

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to hide page title on each page’ is closed to new replies.