$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>events - how can create carousel for posts that will be published a month later?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

events - how can create carousel for posts that will be published a month later?

matteradmin6PV0评论

I have WordPress theme, which is consist of many published post (some of them expired and some of them not published so far). Each of These posts scheduled by start (published on) and expiration (Post Expirator plugin) event. I use two carousel post slider in my home page. One for “Fairs are being held” and one for “Fairs are one month left to be held”. My problem is that how can create carousel for posts that will be published a month later?? Thanks in advance!

I have WordPress theme, which is consist of many published post (some of them expired and some of them not published so far). Each of These posts scheduled by start (published on) and expiration (Post Expirator plugin) event. I use two carousel post slider in my home page. One for “Fairs are being held” and one for “Fairs are one month left to be held”. My problem is that how can create carousel for posts that will be published a month later?? Thanks in advance!

Share Improve this question asked Nov 17, 2018 at 12:48 moha. limoha. li 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Your question could have more info as it's unclear exactly what you're trying to do.

With the info provided, the simple answer to your question "how can I create a carousel for posts that will be published a month later" is to use tags and categories, depending on which carousel plugin you're using. For example, one carousel could display the "Current" category while the other carousel displays the "Later" category.

The Post Expirator plugin is not related to your carousel; it only adds and removes posts. If you wanted to automate the process and this option is not offered by the plugin, you'll have to use php to modify the plugin.

Post a comment

comment list (0)

  1. No comments so far