how to unpublish a block
Hi guys
I've created a golf website.
From one time to another I need to publish "course info" on my front page, but only for a specified time. (ex from monday 6 AM -> wednesday 9 PM)
Is there any way to do this.
Example:
Create a new page -> add a block with text / images.. now I want to specify the time for unpublishing this news feed automatically?
Hope this makes sense.
BR
Henrik
-
Hello Henrik!
Unfortunately, there is no such functionality in Brizy.
You may try to Find some schedule plugins or create some custom JS code for your needs.
Kind regards,
Mihail
0 -
Henrik –
You can use JavaScript, but then you have to be sure your WordPress Cron function is working correctly. If you are not familiar with Javascript, you could use the functionality of the Toolset plugin(s) such as their legacy "Toolset Views" plugin.
https://toolset.com/documentation/legacy-features/views-plugin/conditional-html-output-in-views/
I have used these for 6+ years and it is excellent and no "real" coding. There may be something else that will work for you, but I know this plugin will get you there, although it might be overkill.
0
Please sign in to leave a comment.
Comments
2 comments