My current code in functions.php: echo ‘<div class=”post_date”>’.the_time(‘d’, ‘<div class=”month”>’, ‘</div>’).the_time(‘F’, ‘<div class=”day”>’, ‘</div>’).the_time(‘Y’, ‘<div […]
Tag: date-time
Custom Post Type Archives by Date with Custom Permalink
I’m a bit stuck with getting the custom permalink for custom post type (CPT) archive […]
Default timezone hardcoded as UTC?
While debugging a plugin I was writing, I noticed that on line 36 of wp-settings.php, […]
Convert a date to ISO8601 date format
This is more of a PHP question than a WordPress one. I have a custom […]
What’s the difference between get_the_time and get_the_date?
Both function returns date and time. What’s the difference between them? Do you have any […]
Display future posts?
Is there a way to display posts, scheduled for the future? I want to use […]
Change the ‘published on’ text?
I am using the date and time in the post dialogue to log the date […]
WordPress Locale Switching on Accept-Language Header
Is there anyway to get wordpress to automatically switch locales based on the HTTP Accept-Language […]
How to filter a dd/mm/yyyy date from a custom field in a query
I’m trying to build a query in order to sort some posts by a date […]
Display last login time
I am using this script to get the last time a user logged in function […]
No More Posts Available.
No more pages to load.