• Resolved powerfulphotography

    (@powerfulphotography)


    Hi, I am new to coding so I would like some confirmation help, please.

    I wish to hide a page after 1 week of viewing until I remove the code.
    Could you please give me the correct code format to be pasted into the body of my page?

    I think The rule bellow is only acvive for one day

    [timed-content-server hide=”01/09/2019 09:55 Europe/London”][/timed-content-server]

    Also, how do I create a rule? as the only option available is a day rule:

    Hide the content on December 23rd, 2018 @ 7:50 PM until 24th December 2018 @ 8:50 PM. Repeat this action every year. This rule will be active until December 23rd, 2019. All times are in the Europe/London timezone.

Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    Maybe there is a misunderstanding. It is not possible to say “hide after 1 week”. You can only create a rules based on absolute dates.

    Your example will tell the plugin to hide the content if the time on the server is 9. January 2019, 9:55 or later – but before this date, the content will be visible:

    [timed-content-server hide="01/09/2019 09:55 Europe/London"]
    
    ...Here some content...
    
    [/timed-content-server]
    • This reply was modified 7 years, 3 months ago by Arno Welzel.
Viewing 1 replies (of 1 total)

The topic ‘Hide content after 1 week’ is closed to new replies.