WordPress.org

Support

Support » Plugins and Hacks » All-in-One Event Calendar » [Plugin: All-in-One Event Calendar] How to Change the Post Author for Events

[Plugin: All-in-One Event Calendar] How to Change the Post Author for Events

Viewing 1 replies (of 1 total)
  • 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' );
    // ================================

    to:

    // ================================
    // = 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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] How to Change the Post Author for Events’ is closed to new replies.
Skip to toolbar