Posted: February 15, 2013 at 4:13 am
As administrator I want to create a stubb/draft-event for further completion by my (regional) event managers, having an different WP_user-ID from mine. How to assign a different author (WP_user) to an event? For standard and custom post_types there is a metabox ‘author’ enabling the selection of an appropriate author from an drop-down-list. Please give me a code-example how to realize this e.g. via theme’s function.php, using Thanks | |
Hi Frank, There is no way to assign an event to a different user. The easiest way to do it would be to use a plugin such as User Switching and log in as that user, create the event and log out of that user. | |
OK, user switching makes no sense for me. The need to change wp_user-ID is restricted to a few cases only. Thanks | |
Hey Frank, It shouldnt make any issues, but I would back up your database and test it locally first to make sure. | |
Ok. Thank you. | |
Hi Dean, sorry, you were wrong. Unfortunaly this advice was not a very helpful one: Hence I change wp_user-ID in mysql-table ‘event_details’ manually, categories are not accessible for the new user. Do not touch the wp_user if you do not know the database-structure (table-dependensies) in detail. Frank. | |
The support post ‘Assign different WP_User (author) to an event’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.