Reactor Theme is built on Zurb Foundation and is here - I think it's quite good.
The theme I am replacing used the featured image in the posts or blog page but not in the post itself. Reactor calls the image in both. I want to try and change that so that I can have the featured image on the blog page and not in the post. It causes a problem because I usually use the image in the post and use that for the blog page.
The Reactor theme uses lots of includes, functions, hooks and all that fancy shizzle so I am finding it complicated. I think I have worked out that this is calling in the featured image:
function reactor_do_standard_thumbnail() {
$link_titles = reactor_option('frontpage_link_titles', 0);
if ( has_post_thumbnail() ) { ?>
<div class="entry-thumbnail">
<?php if ( is_page_template('page-templates/front-page.php') && !$link_titles ) {
the_post_thumbnail( 'thumb-150' );
} else { ?>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail( 'thumb-150' ); ?></a>
<?php } ?>
</div>
<?php }
}
add_action('reactor_post_header', 'reactor_do_standard_thumbnail', 4);
The full code for that is here on Git.
Am I correct in thinking that this bit of code is what is doing what I think it is? Can anyone give me a clue as to how I change this behaviour?
Thanks