Dave Clements
Forum Replies Created
-
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Hide without RefreshNo I’m afraid not. That would require some AJAX implementation of this same idea. This plugin only evaluates the current time when the page is loaded and displays content accordingly.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Display date?Hi Ray,
Yes, I believe so. If you could elaborate a little more (with examples) of what you want to show and when, I can guide you through that.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] UpdateHi Jarrod,
I don’t know what the other thread is that you’re referring to, but the plugin is working as intended to the best of my knowledge. What kind of issue are you having?
Forum: Reviews
In reply to: [All Post Statuses for Add Link] Just what I neededThanks Pieter. Glad it’s meeting a need for you ??
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Help with codesHmmm, that one’s got me baffled. Can you change the test to the following so that I can troubleshoot further:
[time-restrict-repeat type="weekly" onday="sunday" offday="sunday" ontime="10:25:00" offtime="12:00:00"]1[/time-restrict-repeat][time-restrict-repeat type="weekly" onday="sunday" offday="wednesday" ontime="12:00:00" offtime="18:55:00"]2[/time-restrict-repeat][time-restrict-repeat type="weekly" onday="wednesday" offday="wednesday" ontime="18:55:00" offtime="20:30:00"]3[/time-restrict-repeat][time-restrict-repeat type="weekly" onday="wednesday" offday="sunday" ontime="20:30:00" offtime="10:25:00"]4[/time-restrict-repeat]
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Help with codesHmm, so it’s always showing one slide A and then another instance of the slider alternates correctly between slide A and slide B? It sounds like you’re calling an extra instance of Slide A somewhere that isn’t regulated by the shortcode time restrictions. Another option is to add these shortcodes to a test page and change Slide A and Slide B for “shortcode 1”, “shortcode 2” etc. so that you can identify which one is showing up when it shouldn’t be.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Help with codesHmm, well, in the eyes of the plugin, there’s no difference between my code and yours (except the times), but at any rate, I’m glad that you got it working in the end.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] show content depending on user's accessThis is very much outside the realm of what this plugin does and what it is intended to do, but a custom plugin could certainly do what you’re trying to achieve.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] does not work in mobileThis is not an issue with the plugin, as the plugin does not make any distinction between what device the user is using. This is more likely a result of a caching plugin or your mobile browser caching the page.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Help with codesSure thing. Something like this should do it:
[time-restrict-repeat type="weekly" onday="sunday" offday="sunday" ontime="10:25:00" offtime="12:40:00"]Slider B[/time-restrict-repeat][time-restrict-repeat type="weekly" onday="sunday" offday="wednesday" ontime="12:40:00" offtime="18:45:00"]Slider A[/time-restrict-repeat][time-restrict-repeat type="weekly" onday="wednesday" offday="wednesday" ontime="18:45:00" offtime="20:40:00"]Slider B[/time-restrict-repeat][time-restrict-repeat type="weekly" onday="wednesday" offday="sunday" ontime="20:40:00" offtime="10:25:00"]Slider A[/time-restrict-repeat]
Forum: Plugins
In reply to: [SOUP - Show off Upcoming Posts] upcoming pagesYou can hack the plugin very simply. Look for this line
$args = array( 'numberposts' => $soupnumber, 'no_paging' => '1', 'post_status' => $posttype, 'order' => 'ASC', 'orderby' => $postorder, 'ignore_sticky_posts' => '1', 'category' => $soup_cat);
and change it to
$args = array( 'numberposts' => $soupnumber, 'no_paging' => '1', 'post_status' => $posttype, 'order' => 'ASC', 'orderby' => $postorder, 'ignore_sticky_posts' => '1', 'category' => $soup_cat, 'post_type' => 'page' );
I’ll consider building this into a future version of the plugin. I have created an issue in Github to track this request if you want to follow along.
Actually, the plugin does neither of those things. The plugin uses the time from WordPress, so it takes the time zone configured in Settings > General to determine the time to show or hide content. Hope that helps clear things up.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Does this hurt SEO and Search Engine rankNot at all. In and of itself it has zero impact on SEO.
m1ha1,
In future, please open your open forum thread so that we can keep separate issues separate.
In version 2.0, I did deprecate the old form of shortcode which you’re using above, but it should certainly still work. Since we’re going through troubleshooting it anyway, can you try the new style of shortcode, which would take the following form:
[time-restrict on="2015-02-13"]AAA[/time-restrict]
Also note that if this is the actual code that you used on your site, then it is correct that it’s not showing, because you’re saying to only show “AAA” on February 13th. It’s currently the 12th.
Forum: Plugins
In reply to: [Show/Hide Content at Set Time] Can't see any effects with woocommerce siteHi Mirek,
A few questions:
- Are you using this shortcode inside a post/page, or are you trying to use it in a widget?
- You say that it does nothing. Does that mean that nothing displays, or it just outputs the shortcode directly onto the page?
- This plugin uses the time settings from your WordPress settings (Settings > General). Could it be that your time settings are incorrect and when you’re trying to view the content, it’s being hidden because the time it should be showing doesn’t match up with the actual time?
Thanks