View Single Post
  #46  
Old March 6th, 2013, 03:23 PM
nzcid nzcid is offline
 
Join Date: Dec 2011
Posts: 404
Default

Quote:
Originally Posted by Eric View Post
For the TwentyTwelve (2012 / Twenty Twelve) theme, you would replace this:
HTML Code:
            <?php if ( is_single() ) : ?>
            <h1 class="entry-title"><?php the_title(); ?></h1>
            <?php else : ?>
            <h1 class="entry-title">
                <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
            </h1>
            <?php endif; // is_single() ?>
With this:
HTML Code:
            <?php if ( is_single() ) : ?>
            <?php if (!is_dfr()) : ?><h1 class="entry-title"><?php the_title(); ?></h1><?php endif; ?>
            <?php else : ?>
            <?php if (!is_dfr()) : ?><h1 class="entry-title">
                <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
            </h1><?php endif; ?>
            <?php endif; // is_single() ?>
Here: /wp-content/themes/twentytwelve/content.php
Thanks Eric for your help.