I am trying to display the post title if the custom field exists and has a value of apple...
<?php if ( isset ( get_post_meta($post->ID, 'mycustomvalue', true ) ) ) && if ( get_post_meta($post->ID, 'mycustomvalue', true ) == 'apple' ) : ?>
<?php the_title(); ?>
I am getting a white screen, anyone spot where I am going wrong?