Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

thumbnail or title

View thumb-title.php
1 2 3 4 5 6 7 8 9
<?php if ( has_post_thumbnail()) { ?>
 
<?php } the_post_thumbnail(); { ?>
 
<?php } else { ?>
 
<h1><?php the_title(); ?></h1>
 
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.