Dave Clements
Forum Replies Created
-
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] show only on certain months for all years[time-restrict-repeat type="annually" onmonth="June" offmonth="December" ondate="01" offdate="31"] Shows from Aug 1 to Dec 31 [/time-restrict-repeat]
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] show only on certain months for all yearsSure, just do an annual recurring template that starts on Aug 1 and ends on Dec 31.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Can I make it dynamic?Hi Misty,
Unfortunately that functionality is not possible at this time.
Thanks
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] January 2017 item not appearingIt might be the way that you’ve pasted it, but I see that you’ve got curly quotes in here rather than true quotes. Try fixing that first?
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Praise and questionSure, you could just do something like this:
[time-restrict-repeat type="annually" onmonth="January" offmonth="January" ondate="15" offdate="31"] [time-restrict-repeat-2 type="daily" ontime="12:00:00" offtime="18:00:00"] I'm currently in the mountains enjoying the summer! [/time-restrict-repeat-2] [/time-restrict-repeat]
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Bi-Weekly ScheduleI’m afraid not. With the recurring options currently available, a bi-weekly schedule is not possible.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Swapping 3 imagesNo, because you want them to stop showing as soon as the deal goes live. Just copy that block of code and progress the dates one day for each of the 12 deals.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Swapping 3 imagesTry something like this. This would be for a deal to appear on Dec 14th.
[time-restrict off="2016-12-13"]QUESTION MARK IMAGE[/time-restrict] [time-restrict on="2016-12-14" off="2016-12-14"]DEAL IMAGE[/time-restrict] [time-restrict on="2016-12-15"]EXPIRED IMAGE[/time-restrict]
It would be tedious and it wouldn’t work for leap years, but you could set up an annual repeater to show from Jan 1 to Jan 7 (because the first Friday of the year will always occur between those dates) and then nest a weekly repeater inside it that turns on on Friday. You could then repeat that 52 times to cover the year.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Overlap IssuesThe logic is correct. I’m betting it’s a timezone issue. P.S., if you want something to show up for one full month, it should be more like:
[time-restrict-repeat type="annually" onmonth="July" offmonth="July" ondate="01" offdate="31"] <strong>July</strong> Hey! It is July [/time-restrict-repeat]
where the onmonth and offmonth are the same, as this logic effectively says “on from July 01 at 12AM to July 31 at 11:59:59PM”. For February, you could just:
[time-restrict-repeat type="annually" onmonth="February" offmonth="March" ondate="01" offdate="01" offtime="00:00:01"] <strong>February</strong> Hey! It is February [/time-restrict-repeat]
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Multiple ShortcodesHi @anpu,
Thanks for following up. I’m glad that you realised it was the curly quotes and not the code itself. For others having similar issues, not that the -2 and -3 variants are for when you’re nesting multiple versions of the shortcode together (there’s no such thing as -4, -5 etc.). In this case, each shortcode stands by itself, limiting each show to one hour a day.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Possible to make this work in a widget?Of course. Your problem is most likely that your theme doesn’t yet support rendering shortcodes in text widgets. You can correct this by following this guide.
Forum: Plugins
In reply to: [SOUP - Show off Upcoming Posts] Specific categoryAbsolutely. This specific example is even covered in the FAQs.
I’m afraid that this plugin does not solve that problem. However, what you’re trying to do is called “dripping content”. This can be solved with a plugin like Restrict Content Pro.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Shortcodes for religious pageThere’s just one issue with your logic: you’re turning each element on and off at the same time. Instead, change
off
to one day forward in each case, so that each item shows for a full 24 hours before the next one takes over.