Title: Old Shortcode
Last modified: August 30, 2016

---

# Old Shortcode

 *  Resolved [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/old-shortcode/)
 * The old [“showafter=”Jan-1-2050”]content[/showafter] code ceased to work upon
   upgrade to WP 4.4
 * Should I revert WP versions or it there a known fix for this?
 * thx
    stu
 * [https://wordpress.org/plugins/shortcodes-to-show-or-hide-content/](https://wordpress.org/plugins/shortcodes-to-show-or-hide-content/)

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

 *  Plugin Author [Dave Clements](https://wordpress.org/support/users/thewanderingbrit/)
 * (@thewanderingbrit)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/old-shortcode/#post-6831759)
 * Stu,
 * 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]`
 *  Thread Starter [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/old-shortcode/#post-6831769)
 * I’m sorry Dave, I typed that wrong, my shortcode above should not have the double
   quotes before… now realized it when you brought it up.
 * So, I have about 220 posts to modify with your suggestion will do that in a mysql
   statement. I must have been an early adopter of your work, haven’t had a glitch
   with that code forever.
 * That said, it appears my implementation was in fact affected by the Clifford 
   update.
 * cheers
    stu

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

The topic ‘Old Shortcode’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [dblinks](https://wordpress.org/support/users/dblinks/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/old-shortcode/#post-6831769)
 * Status: resolved