• Resolved John@PHM

    (@johnphm)


    Hello Everyone,

    I’m a brand new (1 week) user of WordPress and have an issue where the Page Titles are no longer showing on any pages. I did a search to see if anyone else had my issue but found most threads had to do with removing titles.

    I started with the Twenty Eleven template, then made a child per the instructions. I have 99% of the site done but noticed today that the Page Titles are no longer showing.

    The only files I have in my child directory are style.css and footer.php (see below).

    Switching to the Twenty Twelve theme shows me page titles, switching back to Twenty Eleven and their gone. So I deleted and re-installed Twenty Eleven theme but that didn’t help.

    Anyone have any ideas why the Page Titles aren’t working?

    Thanks in advance!

    John
    poplarhillmachine.com/wp

    style.css:
    ———-

    /*
    Theme Name: Twenty Eleven Child
    Description: Child theme for the Twenty Eleven theme
    Author: John Hill
    Template: twentyeleven
    */
    
    @import url("../twentyeleven/style.css");
    
    /* JMH 03-2013 - Uncomment To Remove Footer Comments On All Pages */
    /* #site-generator{display: none;} */
    
    /* JMH 03-2013 */
    .metaslider {
        margin: 0 auto;
    }
    
    /* JMH 03-2013 */
    .page-template-showcase-php section.recent-posts {
        display: none;
    }

    footer.php:
    ———–

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the id=main div and all content after
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    ?>
    
    	</div><!-- #main -->
    
    	<footer id="colophon" role="contentinfo">
    
    			<?php
    				/* A sidebar in the footer? Yep. You can can customize
    				 * your footer with three columns of widgets.
    				 */
    				if ( ! is_404() )
    					get_sidebar( 'footer' );
    			?>
    
             		<div id="site-generator">
    			<?php do_action( 'twentyeleven_credits' ); ?>
    			<a href="<?php echo esc_url( __( 'https://poplarhillmachine.com/wp/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Poplar Hill Machine, Inc.', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Copyright ?2013 Poplar Hill Mchine, Inc.  All Rights Reserved.' ), 'Poplar Hill Mchine, Inc.' ); ?></a>
    			</div>		
    
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>
Viewing 6 replies - 1 through 6 (of 6 total)
  • Your pages are using the ‘Showcase’ template, which does not show the page title…test one page by using ‘quick edit’ and assign to default page template.

    But if you want to put the titles on those pages, try adding this to your CSS:

    article.intro .entry-title {
        display: block;
    }

    Thread Starter John@PHM

    (@johnphm)

    Thanks for the quick replies!

    I knew it was something simple…Showcase template…but I wouldn’t have figured it out by myself for quite awhile. I used the Showcase to get wider page area.

    I added WPyogi’s code to my style.css but the titles still don’t show…what am I missing?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you clear your browser’s cache?

    Thread Starter John@PHM

    (@johnphm)

    Yes, but then I noticed I was using incognito mode.
    Logged out, cleared cache, logged in and TADA! it works!
    Thanks.

    Awesome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Twenty Eleven Child Template – Page Titles Disappeared’ is closed to new replies.