• Resolved jagdishrao

    (@jagdishrao)


    They the page link which i added below, you can see the “Get it by (delivery date)” i am showing the delivery date using wp date and time plugin shortcode which is this : [wp-dt item=”custom” format=”l, jS F Y” days=”+5″ next=”Mon,Tue,Wed,Thu,Fri”] , so when bank holidays comes i want this date to skip and show from next days.
    Can you please help me on this. I would be very glad.

    • This topic was modified 3 years, 9 months ago by jagdishrao.

    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 @jagdishrao,

    You can do this in a very tricky way with the following shortcode:
    [wpdts-custom format="l, jS F Y" start="+6 weekdays"]

    We are using the start attribute and the built in functionality of PHP for working with date and time. In this way you include 5 working days (weekdays) for the delivery + the next working day (or the opposite 1 working day for sending + 5 working days for delivery).

    I hope that helps.

    Plugin Author Denra.com

    (@denra)

    Hello @jagdishrao,

    It’s been 2 weeks since we replied to your question. So, this thread will be closed.

    Thank you for using our plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Want to skip bank holiday days in wp date and time shortcode’ is closed to new replies.