Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rosie,

    I was browsing this post and thought I’d chime in. It’s COMPETE themes (no “L”), so that may have been why your emails were bouncing.

    Thread Starter DavidRoss2

    (@davidross2)

    Ben,

    That was hugely helpful. I’ve got it set up like I want for posts that do have featured images, but it looks strange when they don’t. What’s the best way to conditionally declare it? Can I put what’s essentially an “if featured image returns true” statement into the if-else statements within the child content.php file? Thanks again!

    Thread Starter DavidRoss2

    (@davidross2)

    I’ve got the content.php copied over and I moved the featured image function (ct_ignite_featured_image) into the same div.

    <div class='excerpt-header'>
        		<?php ct_ignite_featured_image(); ?>
    		<h1 class='excerpt-title'>
    			<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    		</h1>
    	</div>

    However, this won’t print the text onto the image. It still appears right below it. I thought that maybe this was because the function itself created a div, so I tried changing the echo statement slightly in a new function in my child functions.php, but that just made the image not be flush on both sides of the content window. I think I’m on the right track, but a little more direction would be greatly helpful. Thanks so much, Ben.

Viewing 3 replies - 1 through 3 (of 3 total)