• Resolved CasperB

    (@casperb)


    Hi Jeroen,

    As of the recent update, the admin area has become very limited in functionality (I see in other posts that I am not the only one who thinks so). I really missing the quick edit option to quickly set categories (for example) without having to open the production.

    I prefer the productions to be listed just as the posts are in WP. It makes it much more intuitive.

    Thanks,
    Casper

    https://ww.wp.xz.cn/plugins/theatre/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeroen Schmit

    (@slimndap)

    Casper,

    You can re-enable the old admin page by adding this code to the functions.php of your theme:

    /**
     * Redirects the new events admin page to the old productions admin page.
     */
    function wpt_use_old_admin_page() {
        global $pagenow;
        if($pagenow == 'admin.php' && isset($_GET['page']) && 'theater-events' == $_GET['page']){
            wp_redirect(admin_url('/edit.php?post_type='.WPT_Production::post_type_name));
            exit;
        }
    }
    
    add_action('admin_init', 'wpt_use_old_admin_page');
    Thread Starter CasperB

    (@casperb)

    Thanks, works perfectly.

    Thread Starter CasperB

    (@casperb)

    Hi Jeroen, with the latest Theater update, the above code in functions.php gives “Array” as as event dates in the events admin page.

    I would like to be able to sort the events in the admin page primarily by date, starting with the upcoming events/productions first. What is the best way to do this?

    Thanks,
    Casper

    Plugin Author Jeroen Schmit

    (@slimndap)

    This will be fixed in the next update.
    For now you can change line 441 in ‘functions/wpt_admin.php’ from:

    echo $production->dates().'<br />';

    to

    echo $production->dates_html().'<br />';
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Quick edit missing in admin’ is closed to new replies.