add Stargazer metabox to event custom post type

1 Reply ·

  1. I am using an events plugin which uses a custom post type ‘event’ and the Stargazer theme.

    Would it be possible to add the Layout metabox from the theme to the Add New Event / Edit Event pages?

  2. Justin Tadlock

    Adding this code to your theme’s functions.php should do the trick:

    add_action( 'init', 'th_add_post_type_support', 15 );
    function th_add_post_type_support() {
        add_post_type_support( 'event', 'theme-layouts' );