Formating the display of a post’s date, outside the Loop
I’m using this function to be able to retrieve several data, from outside the Loop: function get_post_data($postId) { global $wpdb; return $wpdb->get_results(“SELECT * … Read more
I’m using this function to be able to retrieve several data, from outside the Loop: function get_post_data($postId) { global $wpdb; return $wpdb->get_results(“SELECT * … Read more
I am using the More Fields plugin which gives me the ability to create a date formatted YYYY/mm/dd and I want to convert … Read more
I did a pretty thorough search and found a couple of closed (and unanswered) topics on the WP forums. Does anyone know if … Read more
This is more of a PHP question than a WordPress one. I have a custom post type event that by default outputs the … Read more
I’d like to find an optimized, WP_Query-safe method for generating a dynamically-populated copyright statement for the bottom of my themes. That is to … Read more
I’d like to create an archive that lists posts under a month header. The months would just be plain text and the post … Read more
I have a problem with dates. I need to add if-else logic to show different content. It’s based on date_diff values. And here’s … Read more
Any way to filter/change the display time only on the front-end with hook? Unfortunately, I can’t adjust the timezone in General>Settings because it … Read more
I’m making a list of suggestion here. I need to insert current date/time for each of my suggestions – they are added accumulatively. … Read more
I actually have a custom date registered in UNIX Time in my database like this: meta_key : custom_date meta_value : 1322697600 and the … Read more