The template I'm using outputs the date of a post using:
echo get_the_date( get_option( 'date_time' ) );
I was wondering why this output is now (after upgrade to WP 5.5) not working anymore?
A fast fix is using the option ...
The template I'm using outputs the date of a post using:
echo get_the_date( get_option( 'date_time' ) );
I was wondering why this output is now (after upgrade to WP 5.5 and PHP 7.4) not working anymore?
A fast fix is ...
I am using Wordpress version 5.4.
I have a problem with the dates in a CPT, and it is that the dates show one day less.
Example: If I put in the backend the date, 08/18/20, in the frontend it shows me ...
This might be a long post but I want to explain in detail what I'm trying to do and what I've already done.
I'm making custom forms using the advanced custom fields plugin and I need to display these custom forms ...
I set up WordPress and my WordPress firewall (NinjaFirewall) before I updated my VPS' timezone.
I have since then updated the server's timezone and rebooted both Apache and the server, however NinjaFirewall is still displaying the old timezone on its logs.
How ...
I use the following function to get the latest comment for each one of my posts and display it on archive and index pages under the post content:
function kv_latest_comment($post){
$args = array(
...
I wonder could anyone help me with the time zones.
In my wordpress i have the time zone set for New York, When i make a booking on my wordpress the booking is added to woocommerce cart and the time is ...
I have a foreach loop for a custom post type ordered by date (meta key). If a post's associated date is less than the current date (i.e., dates not in the future), I want to output some HTML.
if ($custom_post_date >= ...
I've searched around and have had no luck or success in finding a way to show how many posts an author has made in a certain period of time (e.g. - a week)
Any ideas on how one would approach this? ...
I have a custom field "DOB" on my custom post type which is in [Ymd] format. I want to compare that date of birth to current time and want to show "You are # years # months."
I am able to ...