You would have to use another plugin to accomplish this. I don’t have any experience with a plugin that does this, but I found this one after a quick Google search https://ww.wp.xz.cn/plugins/post-expirator/ which looks like it would do what you need… I’m assuming you are using the Ditty Posts Ticker extension?
Thanks for replying.
No, I’m using the Ditty News Ticker with no extensions. Does that make a difference?
If you want an individual ticker to have a start/stop date then the plugin mentioned above should work.
I thought you where referring to individual ticks within a single ticker, which in that case, it would not… but, if you where displaying posts through the posts ticker, then you would most likely be able to publish/un-publish the posts that where displayed through the ticker with the plugin above.
Thread Starter
dozza
(@dozza)
OK, the post expirator plugin looks good.
I have the single existing ticker embedded using direct function code in a hook area currently so it shows the single ticker on all site pages.
But i’d rather not have the client having to update php in hooks. So is there a php function to call and display ANY/ALL tickers currently set up and published, rather than specific ticker by ID?
That way they can set up several future tickers with publish/expire dates that will display automatically on all site pages.
Appreciate your steer here.
No, there isn’t a way to display all tickers with a single function. You would need to add each direct ticker function separately into your file, but you wouldn’t need the “if” statement for each.. just include all the ticker functions into a single “if” statement.