Title: Show/Hide Annually
Last modified: August 1, 2017

---

# Show/Hide Annually

 *  Resolved [chemdata](https://wordpress.org/support/users/chemdata/)
 * (@chemdata)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/showhide-annually/)
 * I am trying to bring up a different slider each month without apparent success.
   I’ve tried different combinations of code. For example using code below it shows
   correctly for the month of July. However on August 1 the July or August slider
   does not show at all until August 2 when the August slider appears. Pls advise
   what I am doing incorrectly and provide me with correct code and thank you.
 * [time-restrict-repeat type=”annually” onmonth=”July” ondate=”01″ offmonth=”August”
   offdate=”01″ offtime-“00:00:00″]<center>July Slider<center>[/time-restrict-repeat]
   [
   time-restrict-repeat type=”annually” onmonth=”August” ondate=”01″ ontime=”00:
   00:00″ offmonth=”September” offdate=”01″ offtime=”00:00:00″]<center>August Slider
   </center>[/time-restrict-repeat]

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

 *  Plugin Author [Dave Clements](https://wordpress.org/support/users/thewanderingbrit/)
 * (@thewanderingbrit)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/showhide-annually/#post-9370427)
 * Hi there,
 * Try this instead:
 *     ```
       [time-restrict-repeat type="annually" onmonth="July" ondate="01" offmonth="July" offdate="31"]<center>July Slider</center>[/time-restrict-repeat]
       [time-restrict-repeat type="annually" onmonth="August" ondate="01" offmonth="August" offdate="31"]<center>August Slider</center>[/time-restrict-repeat]
       ```
   
 *  Thread Starter [chemdata](https://wordpress.org/support/users/chemdata/)
 * (@chemdata)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/showhide-annually/#post-9372018)
 * That didn’t work either. I had used that initially since it seemed to make the
   most sense but it did not work. Thanks.
 *  Thread Starter [chemdata](https://wordpress.org/support/users/chemdata/)
 * (@chemdata)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/showhide-annually/#post-9375674)
 * Dave I went back and reinstalled the plugin as I couldn’t believe the solutions
   would not work. Glad to report that all are working now and that once again the
   problem was at my end not yours. Thanks for the help.

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

The topic ‘Show/Hide Annually’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-to-show-or-hide-content/assets/icon-256x256.jpg?
   rev=984372)
 * [Show/Hide Content at Set Time](https://wordpress.org/plugins/shortcodes-to-show-or-hide-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-to-show-or-hide-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-to-show-or-hide-content/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-to-show-or-hide-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-to-show-or-hide-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-to-show-or-hide-content/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [chemdata](https://wordpress.org/support/users/chemdata/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/showhide-annually/#post-9375674)
 * Status: resolved