Hi there,
Is there anyway to create the blog list and blog entry with a date in place where the profile picture/blog type goes (the circle to the left). Ideally, it would still have the dotted line that links between each blog but would have a large date (abbreviated “MAR 13′) instead of my profile picture or blog type.
Are there going to be any blog variations added to theme updates in the near future (next week or so) or is there a CSS work-a-round that will give me more style options?
Cheers
Andy
Hi,
On Settings > General, set the Date Format to custom then place the text “F j” which means Month and Date.
Open includes > loop-index.php, find this code:
$link = get_author_posts_url($post->post_author);
At the bottom place this code:
$date = get_the_date();
Then find this code:
echo "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>
Replace it with:
echo "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$date."</span></a>
You can style the date text using .round-container class.
Regards,
Ismael
Thanks again for this – will take a look over the weekened
Hi!
Let us know if it worked out.
Best regards,
Peter
Tried this and all it did was create an empty page where the blog shoul be – it killed the blog altogether.
the only thing i wasnt sure about was where exactle did I put…
$date = get_the_date();
…you say the bottom; of the next line or before the next Div? just not sure although I did try a few places and still nothing happened. I also if we can make this work can the php file be added to my child theme? im assuming yes?
cheers
andy