Date on blog post
-
I found previous help on how to change the “content.php” to add the date above the blog post. I did as noted, but it deletes the “HOME” and blog posts when I view my blog. I have tried to return it to the original code but it doesn’t fix the problem. I have had to delete and reinstall Iconic One (twice). This was working fine up until a recent update. This is the code I was changing. I really want the blog to look how it was “before” the update. Note… the update also removed the full blog post showing, but I was able to to change that code without a problem.
Find this line 25 inside content.php
<?php if ( is_single() ) : //for date on single page ?>
and replace it with
<?php if ( is_single() || is_home() ) : //for date on single and home page ?>
- The topic ‘Date on blog post’ is closed to new replies.