Find solution

How to change category of a post automatically in WordPress?

Here are 18 best answers to ‘How to change category of a post automatically in WordPress?’ - the most relevant comments and solutions are submitted by users of Stack Overflow, Ask.Metafilter.Com and Yahoo! Answers.

Best solution

  • Change category of wordpress post when date is today

    So I am using the plugin 'the future is now' on a wordpress site, the site is for event news, once an event has happened i need it to move into from the 'events' category to the 'results'. The plugin 'the future is now' takes care of displaying future posts but I cannot find anything online as to how to change the post category when the date is 1 day past. For example an event on the 11/04/2014 should change categories at 00:01 12/04/2014.


    You will need a couple things in order to change the category using PHP <?php $date = the_date()...

    Mark as irrelevant Undo

Other solutions