Show works, but Hide does not
-
I am having a problem with the plug-in that is driving me crazy. All of the formatting seems to be correct, the server time/date is correct.
I am using the plugin to show a PayPal button starting on a certain date and then stop after a deadline date. After the deadline date, I have another timed PayPal button that shows. So, if they pay by the first date, they receive early bird discount. If they pay by the second date, they receive regular pricing.
Here is my code:
[timed-content-server show=”2019-08-17″ hide=”2019-10-02 09:31 -0700” debug=”true”]
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”>
<input type=”hidden” name=”cmd” value=”_s-xclick”>
<input type=”hidden” name=”hosted_button_id” value=”TZW8KPMMTV8LC”>
<input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif” name=”submit” alt=”PayPal – The safer, easier way to pay online!” border=”0″>
</form>
[/timed-content-server]
Regular Registration: $750
[timed-content-server show=”2019-10-10″ hide=”2019-11-09”]
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”>
<input type=”hidden” name=”cmd” value=”_s-xclick”>
<input type=”hidden” name=”hosted_button_id” value=”G79BYJUJY5B9J”>
<input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif” name=”submit” alt=”PayPal – The safer, easier way to pay online!” border=”0″>
</form>
[/timed-content-server]As you can see, I added the debug attribute. This is what the debug says:
Notice
Debugging has been turned on for a [timed-content-server] shortcode on this post/page. Only website users who are currently logged in and can edit this post/page will see this. To turn off this message, remove the debug attribute from the shortcode.
The show attribute is currently set to: 2019-08-17,
The Timed Content plugin thinks the intended date/time is: 2019-08-17 00:00 +0000 (2 months ago.)
The hide attribute is not set or invalid.
Current date: 2019-10-02 09:59 -0700
Content filter: timed_content_filter
Content:PayPal – The safer, easier way to pay online!
The plugin will show the content.
What am I missing here? It says the hide attribute is not set or invalid. I have tried with the date only, with specific times, with and without timezones – every conceivable format.
The problem that I have is that it does NOT hide the first button, but the second button appears when it should – giving me two buttons.
What am I missing?
- The topic ‘Show works, but Hide does not’ is closed to new replies.