WordPress.org

Support

Support » Themes and Templates » Twenty Twelve, Remove Page Titles

Twenty Twelve, Remove Page Titles

Viewing 6 replies - 1 through 6 (of 6 total)
  • either use a custom css plugin for the changes, and use a css fix:

    .page .entry-title { display: none; }

    or create a child theme of Twenty Twelve to work with; http://codex.wordpress.org/Child_Themes

    and edit content-page.php in the child theme, and remove:

    <header class="entry-header">
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    		</header>

    I’m wondering about this…does removing the whole header entry from content.php negatively impact site SEO? (e.g. can search engines no longer read the titles without this?)

    Or, conversely, does simply setting display to none keep SEO benefits (e.g. can search engines still read the titles?)

    Thanks!
    Scott

    paulwpxp

    @paulwp

    Font hero

    For header ( H1 H2 tag ), use this instead of display none.

    .page .entry-title {
    	position: absolute !important;
    	clip: rect(1px 1px 1px 1px); /* IE7 */
    	clip: rect(1px, 1px, 1px, 1px);
    }

    Thanks! That almost worked. Now my problem is that there is still some whitespace I don’t want in the area of the page where the header/title normally sits. (When I deleted the header, it removed all the whitespace too—which was good!)

    If you want to look at my site, perhaps you’ll notice another way to remove the remaining whitespace? (It’s the whitespace between my navigation menu and the image slider—I want the slider to sit right beneath the nav menu).

    http://coopersrock.wpengine.com

    Thanks!
    Scott

    If you use display:none, then there should be no whitespace problem as far as I can see.

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    @swriverstone, please don’t make a habit of posting for support on someone else’s thread.

    If you need additional support than this thread can provide, create your own thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Twenty Twelve, Remove Page Titles’ is closed to new replies.
Skip to toolbar