Dave Clements
Forum Replies Created
-
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Alternate sliders on a pageOK, and this plugin supports that. It supports both the schedule you are talking about and including shortcodes within the time restriction shortcodes. For example:
[time-restrict-repeat type="weekly" onday="Monday" offday="Monday"]Slider 1 shortcode[/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Tuesday" offday="Tuesday"]Slider 2 shortcode[/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Wednesday" offday="Wednesday"]Slider 1 shortcode[/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Friday" offday="Friday"]Slider 2 shortcode[/time-restrict-repeat]
Hi there,
I’m afraid that this capability is well outside of the scope of this plugin and is a different function altogether with only moderate correlation to what this plugin does.
In order to achieve what you want, a timer would need to count how much time a single user account or IP address has been viewing content for a set period and store that data in the database. This may be possible with JS.
I’m afraid that this is something that I won’t be able to help you with.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Display timeWell, this plugin doesn’t do that, but another plugin like Extra Shortcodes can display the time for you inside the time restrict shortcode.
Forum: Reviews
In reply to: [Show/Hide Content at Set Time] Great for updating a section of a pageThanks for the review. Glad it’s working for you!
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Old ShortcodeStu,
If that really is what your shortcode looked like, there’s an issue with there being a double quote before showafter. I wasn’t aware that there were any issues with upgrading to 4.4, but the quick answer would be that the fix is to use the new shortcodes which provide the same functionality.
The equivalent shortcode for what you have above is
[time-restrict on="2050-01-01"]content[/time-restrict]
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Weekly schedule correct?Almost. It’d be this:
[time-restrict-repeat type="weekly" onday="Thursday" offday="Tuesday" ontime="00:00:00" offtime="17:00:00"] Form shortcode goes here. [/time-restrict-repeat]
In short, yes, you’re doing it wrong. But that’s OK, that’s what these forums are for ??
If you want something different every day, then think of it like this: You want one thing to show every Monday and only on Monday. You want another thing to show every Tuesday and only on Tuesday etc., so your code will look something like this:
[time-restrict-repeat type="weekly" onday="Monday" offday="Monday"] Monday's content [/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Tuesday" offday="Tuesday"] Tuesday's content [/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Wednesday" offday="Wednesday"] Wednesday's content [/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Thursday" offday="Thursday"] Thursday's content [/time-restrict-repeat] [time-restrict-repeat type="weekly" onday="Friday" offday="Friday"] Friday's content [/time-restrict-repeat]
Let me know if that doesn’t achieve what you’re trying to do.
Forum: Plugins
In reply to: [Recent Contributors Widget] looks good so far..Hi Ricky,
I’m glad to see you using this in an interesting way, however, what you’re proposing is quite far outside the scope of the plugin and very much an edge case, so I don’t think it makes sense to build it into the plugin.
Hi,
Is this a plugin that sets these variables? I’m pretty sure it wouldn’t work, but by all means try it out and report your progress.
The original code you pasted creates a weekly schedule that starts at midnight on Monday morning and goes all the way through to 12:30a.m. on Friday. You need to combine two different shortcodes to get both the weekly schedule right (only showing Mon-Fri) and the daily schedule right (only showing 00:00-00:30). There’s an example of how to do this on the plugin description tab.
Forum: Plugins
In reply to: [SOUP - Show off Upcoming Posts] 1.1 to 2.0 always wants to updateMy apologies: this came about as a result of some changes to support future WordPress features. I have posted details on how to resolve this issue here.
I’m sorry – this is an error that occurred as a result of changing a filename in anticipation of providing language pack support in the near future.
To fix this issue:
- Use FTP to navigate to wp-content/plugins/soup-show-off-upcoming-posts/
- Delete soup-upcoming-posts-widget.php
- Reactivate SOUP
Sorry for the frustration, but thank you for bringing it to my attention. Let me know if this fix doesn’t work for you.
Forum: Reviews
In reply to: [Recent Contributors Widget] Does exactly what you'd expectThanks for taking the time to leave a review ??
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] sitewide vs userOn its own, it’s sitewide, but you could use it in combination with a membership plugin like Restrict Content Pro to achieve what you want.