Show date item with wp_get_archives
-
Hi, I’ve been trying to show the date for each post in the list created by the function “wp_get_archives”. However I can’t find date as an argument to the function – I’ve also tried to solve this with the <?php the_date(‘Y-m-d’); ?> but I just can’t seem to get it right.
I found the argument “after” but didn’t manage this time either and finaly I tried to alter the function in general-template.php so to say “in the loop” when elseif = postbypost – again with no luck ??
I should let you know I completely new to WordPress ??
Anyone has a clue as to how to show the date (published) alongside each and every item in the list.
Thank in advance
PS. Om my test page you can better see what I mean: https://www.froden.com/news
- The topic ‘Show date item with wp_get_archives’ is closed to new replies.