Hello. I realize this plugin is probalby not be maintained but thought I would post this here in case I’m wrong.
Anything shortcode with a future date is creating a error strings:
Warning: Illegal string offset ‘time’ in XXX/wp-content/plugins/dynamic-dates/ShortCodeController.php on line 184
Warning: Illegal string offset ‘format’ in XXX/wp-content/plugins/dynamic-dates/ShortCodeController.php on line 191
I’m using PHP 7.+ so that might be something to do with it?
]]>Jason, thank you for this great piece of code!
Would it, in your estimate, be at all feasible to integrate PHP’s easter_date()
in your plugin?
What I’m hoping for is being able to do, say
Palm Sunday = [date format="EE, dd.MM.Y" time="Easter -7 days" relative_to="+2 years" language="de_DE"]
Or can you perhaps think of any way to enable your plugin to accept “date injection” from another source?
There’s another plugin Wpit Easter which uses [easter_date]
, and I was hoping one could simply do time="[easter_date]"
…
Any thoughts on this?
]]>I am using your plugin for it’s dynamic feature to be used on a coupon. Is it possible to have it display 30 days out?
]]>Hi, I would like to know how could I add a function call to my theme? Awesome plugin by the way.
]]>I updated this plugin. Then I updated wordpress to 4.2.1. Now I get this error:
Dynamic Dates plugin error: DateTimeZone::__construct() [datetimezone.–construct]: Unknown or bad timezone ().
PHP-Version: 5.3.29
]]>Hi!
I need a function on my website, where the visitors could enter a date i.e. dd/mm/yy. Based on that entry I would like to be able to present new dynamic dates i.e
input value + 30 days,
input value + 90 days,
input value + 180 days and so on.
Can I use dynamic date for that?
Best regards
Benny
Hi!,
Can you please let me know if it possible for the plugin to omit weekend dates and therefore move to the next available date, when it returns a result?
thanks!
]]>Hi Jason, can you please let me know if it possible for the plugin to omit specific dates and therefore move to the next available date, when it returns a result?
Eg. jesterprint.com provides print buying online. I would like to use the plugin to advise the customer what date they can expect to receive their order (different products have different lead-times). However, I want to exclude weekends and public holidays from the date the plugin provides, and move forward to the next avaialble date.
If a product takes 3 days to print and delivery lands on a Sunday, I’d need to fash up Monday, as the delivery date.
Is this possible – can a list of dates be excluded from the returned results and therefore move to the next availalble date?
Thanks in anticipation.
Adam