All-in-One Event Calendar
How to Change the Post Author for Events (2 posts)

  1. Matt Fraser
    Posted 4 years ago #


    On my site: http://www.sherwoodparkmusic.com/ai1ec_event/music-festivals/?instance_id=

    I have the event published by someone who helped me and I would like to change who the author is of the posts.

    Can this be changed somehow?




  2. josjo
    Posted 4 years ago #

    All-in-One Event Calendar uses a custom post type for events, but does not add author support.

    If you feel comfortable editing the plugin you can add it yourself. A word of warning: there could be a good reason author support was left out that I don't know about. Follow the steps below at your own risk or wait for Yani or someone else from The Seed to verify it's ok.

    (This is tested on version 1.4)

    1. Edit the file wp-content\plugins\all-in-one-event-calendar\app\helper\class-ai1ec-app-helper.php and scroll down to line 165 (or close to that line).

    2. Change the code from:

    // ================================
    // = support for custom post type =
    $supports = array( 'title', 'editor', 'comments', 'custom-fields' );
    // ================================


    // ================================
    // = support for custom post type =
    $supports = array( 'title', 'editor', 'comments', 'custom-fields', 'author' );
    // ================================

    3. Go to Events/All events and check the events you want to change

    4. Choose Edit from the Bulk Actions dropdown and click Apply.

    5. Change author and click Update.

    Undo the code changes when you've finished.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic