Title: short code
Last modified: October 26, 2020

---

# short code

 *  Resolved [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/short-code-140/)
 * Hi
 * Great plugin, lucky i found you i didn t want to do it myself
    We have a quick
   question for you
 * When we set up 2 dates to show and hide back with 1 minute différence it won 
   t work with shortcode but when we hard code the shortcode it does work
 * – The content will still print even after expire date :
    Show the content on 
   2020-09-20 @ 00:00 until 2020-10-25 @ 11:59. Repeat this action every day. This
   rule will be active until 2021-10-17. All times are in the Europe/Paris timezone.
 * – then we replaced it by the other short code, and the expiration date works 
   fine
 * [timed-content-server show=”2020-09-20 00:00:00 -0600″ hide=”2020-10-25 11:59:
   00 -0600″]
 * would you know why?
 * thanks
    -  This topic was modified 5 years, 6 months ago by [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/).

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

 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/short-code-140/#post-13579861)
 * When you want to have a rule which repeats every day, you must not define a length
   which is longer than 24 hours.
 * Your example:
 * 1. Show from 2020-09-20 0:00 to 2020-10-25 11:59 – this is for more than 30 days
 * 2. Repeat this every day – which means before the rule ends it will start again
 * This results in the following schedule:
 * Repetition 1: 2020-09-20 0:00 to 2020-10-25 11:59
    Repetition 2: 2020-09-21 0:
   00 to 2020-10-26 11:59 Repetition 3: 2020-09-22 0:00 to 2020-10-27 11:59 Repetition
   4: 2020-09-23 0:00 to 2020-10-28 11:59 and so on…
 * This means the content will be visible always as there is no point where the 
   rule does not apply.
 * So what if you want to show something from 0:00 until 11:59 every day, the rule
   would be:
 * Show 2020-09-22 0:00 to 2020-09-22 11:59, repeat every day:
 * Repetition 1: 2020-09-20 0:00 to 2020-09-20 11:59
    Repetition 2: 2020-09-21 0:
   00 to 2020-09-21 11:59 Repetition 3: 2020-09-22 0:00 to 2020-09-22 11:59 Repetition
   4: 2020-09-23 0:00 to 2020-09-23 11:59
 * You can also use the “Show projected dates/times” in the rule editor to check
   the effective schedule of your rule.
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/short-code-140/#post-13579897)
 * great thanks for quick support
    you should try to advertise and monetise that
   plugin
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/short-code-140/#post-13580059)
 * I need to stop showing that content on that date 2020-10-25 11:59
    but can t 
   figure out why it s not working
 * hereis my set up i have for now
    [https://nimb.ws/jPloyQ](https://nimb.ws/jPloyQ)
 * my goal is to reproduce that rule below
    [timed-content-server show=”2020-09-
   20 00:00:00 -0600″ hide=”2020-10-25 11:59:00 -0600″]
 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/short-code-140/#post-13580094)
 * Change the “Stopping condition” to “Repeat a set of number of times” and then
   set “1”, so the rule will only be executed once.

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

The topic ‘short code’ is closed to new replies.

 * ![](https://ps.w.org/timed-content/assets/icon-256x256.png?rev=2953069)
 * [Timed Content](https://wordpress.org/plugins/timed-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/timed-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/timed-content/)
 * [Active Topics](https://wordpress.org/support/plugin/timed-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/timed-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/timed-content/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/short-code-140/#post-13580094)
 * Status: resolved