I am not able to get the date to display for posts listed in a category using [catlist] tag. I use the parameter ‘date=yes’. The time displays, but not the date. I have checked the list-category-posts/list_cat_posts.php and found the ‘get_the_time’ function, but cannot figure out how to get the date to display, not the time??
Please help.
get_the_time()
takes the same format as the PHPdate()
function for its parameter. Thus,get_the_time('F d, Y')
would produceJanuary 09, 2012
for today.If you take a look at either the README file included on the plugin or in the plugin’s page on WordPress.org, you can find this is one of the parameters:
Try using this instead of hardcoding the format into the list_cat_posts.php file. This will be overwritten once the plugin is updated.