Tag Info

Hot answers tagged

2

Don't use the publish date as the event date. Save the event's date in a custom field in the format yyyy-mm-dd, and use a meta query to order events by that date. Also see pre_get_posts for ordering events correctly on archive pages without running a new query.


1

Yes, there is a SQL-based method to do this. Just run this SQL (it will convert all tags to categories, if you want to convert only some of them, you have to add your conditions to WHERE clause): UPDATE wp_term_taxonomy SET taxonomy='category' WHERE taxonomy='post_tag' You can do this using $wpdb: $wpdb->query( "UPDATE $wpdb->term_taxonomy SET ...



Only top voted, non community-wiki answers of a minimum length are eligible