• I followed the following fix to move my post title above the featured image: https://www.ads-software.com/support/topic/featured-image-appears-above-title

    Well, it did that, but it also made my post content disappear. All that’s left is the featured image and title.

    Any help with this?

    Here’s my child’s content.php for the twentytwelve theme:

    <header class="entry-header">
    
    			<?php if ( is_single() ) : ?>
    			<h1 class="entry-title"><?php the_title(); ?></h1>
    			<?php else : ?>
    			<h1 class="entry-title">
    				<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    			</h1>
    			<?php endif; // is_single() ?>
    			<?php the_post_thumbnail(); ?>
Viewing 1 replies (of 1 total)
  • Thread Starter nicholascarrigg

    (@nicholascarrigg)

    Nevermind. For future reference, you need to copy the entirety of the parent content.php into the child’s content.php before editing the code. Then follow the instructions in the link I provided. That does the trick.

Viewing 1 replies (of 1 total)
  • The topic ‘Post Title Above Featured Image and Content Disappears’ is closed to new replies.