If in Pods i have date field, how in Pods template I show this date but only the year?
]]>Screenshot of my discount rule settings: https://ibb.co/d0F1wLf
]]>Is there a way to change the date format in the PDF? (from “YYYY-MM-DD” to “d M y”).
Best regards!
]]>When I try to change the date format using the code:
add_filter(‘wf_pklist_alter_order_date’, ‘wt_pklist_change_order_date_format’, 10, 3);
function wt_pklist_change_order_date_format($order_date, $template_type, $order)
{
/* new date format */
return?date(“Y-m-d”,strtotime($order_date));
}
Change : return?date(“d/m/y“,strtotime($order_date));
It returns 01/01/1970 instead of the actual date.
How can I fix this ?
Thanks
]]>Is there a way to pick a particular date in a season (or a date range) and show a players/teams stats up until that point.
For example
Player A has 30 goals at the end of the season.
You pick the date April 5th. So you can see the teams/players stats and see Player A had 10 Goals at that point in the season.
Thanks
I have a set up a date field to show when a sports fixture is to be held (“fixture_date”). I then want to only display future events, so in the shortcode I have included the where condition as follows, based on another post I found on here…
where="CAST( fixture_date.meta_value AS DATETIME ) >= NOW()"
However, this is not working – no posts are listed at all. Without the where clause, all posts are listed. Please advise me where I’m going wrong!
Thanks
Stephen
]]>First of all thank you for creating such an awesome plugin and maitaining it. I have question regarding the date in the sitemap.
I want few of my posts to retain the old date on which they are created. The problem is that when I update the post, the date in the sitemap changes to the current date and time. For few posts I don’t want that. What I do to retain the old date even after updating the post.
Thanks
Vin
]]>I’m currently testing prime events on a german site and therefore changed the date format using General/Setup to d.m.Y
However, when I look at all-events the Date looks like “So, 08 Dec 13:00“.
How can I change the date to either
Thanks for your support!
]]>I’d like to know if there is any way to insert a list of dates to not to publish my shortcoded content, as in: 2024-10-12, 2024-10-13, 2024-10-19, 2024-10-20, 2024-10-26… etc, that being Saturdays, Sundays and local holidays.
It would be a pain to insert them one by one, selecting on the calendar. I have the AI list generated list from today, until 01-01-2030.
I’ve entered via FTP, but couldn’t identify my generated codes… If that makes any sense.
Thank you in advance,
Mauricio.