Viewing 1 replies (of 1 total)
  • I’ll fix this in the next version. But if you want to turn it on now, add “comments” to the the “supports” options for the show’s register_post_type call in includes/playlist.php.

    It’s on line 57.

    register_post_type( 'show',
    		array(
    			'labels' => array(
    				'name' => __( 'Shows', 'radio-station' ),
    				'singular_name' => __( 'Show', 'radio-station' ),
    				'add_new' => __( 'Add Show', 'radio-station' ),
    				'add_new_item' => __( 'Add Show', 'radio-station' ),
    				'edit_item' => __( 'Edit Show', 'radio-station' ),
    				'new_item' => __( 'New Show', 'radio-station' ),
    				'view_item' => __( 'View Show', 'radio-station' )
    			),
    			'show_ui' => true,
    			'description' => __('Post type for Show descriptions', 'radio-station'),
    			'menu_position' => 5,
    			'menu_icon' => WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) . 'images/show-menu-icon.png',
    			'public' => true,
    			'taxonomies' => array('genres'),
    			'hierarchical' => false,
    			'supports' => array('title', 'editor', 'thumbnail', 'comments'),
    			'can_export' => true,
    			'capability_type' => 'show',
    			'map_meta_cap' => true
    		)
    	);
Viewing 1 replies (of 1 total)
  • The topic ‘How to add a comments section to the show page?’ is closed to new replies.