Created
February 22, 2017 09:09
-
-
Save Dinamiko/65f44e42c508ddb9a4ec3a0fe7ddd790 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// once you’ve dkpdfg-index.php template copied to the root of your theme inside a dkpdfg folder, in line 72 you’ve to replace this: | |
<h1><?php the_title();?></h1> | |
<?php the_content();?> | |
// for this: | |
<h1><?php the_title();?></h1> | |
<?php if( has_post_thumbnail() ) { | |
the_post_thumbnail(); | |
} ?> | |
<?php the_content();?> | |
// in the above code I’m adding the feature image between the title and the content (you can change the order if you wish). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment