• Resolved naznewsgirl

    (@naznewsgirl)


    I’ve installed the plugin on the site, but need to know how to configure the shortcode to show that jerseys will ship 6 weeks from today, with the full date, ie. November 14, 2024, or even just November 14th.

    This is the shortcode I’m using, which will show the 14th, but I don’t know how to tie the month to it: [wp-dt item=”custom” format=”jS” days=”+42″]

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Denra.com

    (@denra)

    Hello @naznewsgirl,

    You can use the formatting characters for the PHP date() function which can be found here:
    https://www.php.net/manual/en/datetime.format.php

    In your case you might use jS F or M jS, for example which will show 14th November or Nov 14th. You can also add the day of week like this jS F (D) or M jS (l).

    In case that the delivery can be weekdays only (Mon-Fri) then you may use, for example:

    [wpdts-custom format="jS F (D)" start="+30 weekdays"]

    Please let us know if that works for you!

    Plugin Author Denra.com

    (@denra)

    Hello @naznewsgirl,

    It’s been almost 4 weeks since we last posted a reply in this thread, so we are closing as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.