Display Shortcodes: Search results display

WordPress Business Themes Forums Responsive Themes Coupon Theme Display Shortcodes: Search results display

Display Shortcodes: Search results display

July 26, 2013
Aaron Aaron
  • Aaron
    Aaron
    Super Guru 922 points

    We can print the expiry using COUPON_ENDS which lists the expiry date like thus:

    Expires in 03 months, 16 days, 08 hours, 26 minutes, 18 seconds

    How can we output a date instead like: August 6th 2013 8:40 am

    I see the code refers to a few shortcodes like this:

    add_shortcode( ‘COUPON_END’, array($this,’wlt_shortcode_coupon_ends’)

    July 26, 2013 at 7:38 am
  • Aaron
    Aaron
    Super Guru 922 points

    Well [DATE] shows post date, looks like I’ll need to do a custom function.

    July 27, 2013 at 11:16 am
  • Anthony
    Anthony
    Newbie 20 points

    Hi Aaron,
    did you ever work this out? i would like something similar too :)

    Thanks

    March 10, 2014 at 1:58 am
Viewing 3 posts - 1 through 3 (of 3 total)

Didn't find what you were after?

Chat with us now

or contact our support team