• Can you please help on correct use of the shortcode [postexpirator]?

    Let say my
    Date Format: d-m-Y
    Time Format: H:m

    Should it result to
    [postexpirator “15-08-2018 10:00”]
    ?

    Thanks,
    Oleksander

    • This topic was modified 7 years, 9 months ago by oleksander.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried the date in US format?

    Thread Starter oleksander

    (@oleksander)

    Yes, I tried it first with default US format.
    I think it something with the syntax.
    It is documented as:

     
    Valid [postexpirator] attributes:
    
        type - defaults to full - valid options are full,date,time
        dateformat - format set here will override the value set on the settings page
        timeformat - format set here will override the value set on the settings page
    

    So what is correct way to specify these?

    [postexpirator type=full 15-08-2018 10:00]
    or
    [postexpirator full 15-08-2018 10:00]
    or something different?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode example’ is closed to new replies.