theukedge / shortcodes-to-show-or-hide-content

Show/Hide Content at Set Time
https://wordpress.org/plugins/shortcodes-to-show-or-hide-content/
GNU General Public License v2.0
13 stars 10 forks source link

Automatically refresh contents #14

Open theukedge opened 8 years ago

theukedge commented 8 years ago

Email from user

Hi, I have installed your Show/Hide content plugin. if a visitor is already on the site when the trigger happens, the content does not show unless the page is refreshed. Is there anyway to get around this so when the visitor is online? It would also be helpful to take a step further to have a show/hide command tied to when the visitor visits (ie. show a call to action 30 seconds after the visitor visits a particular page). thanks for creating the plugin and perhaps you can shed some light on those ideas above :)

alanef commented 7 years ago

I think both ideas are great but also would require javascript / jquery rather than PHP logic as per the moment. It could be done but quite a different approach I think.