@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
// Cocoonのイベント投稿名を変更
function custom_event_post_type_label($args) {
    if (isset($args['labels'])) {
        $args['labels']['name'] = '公演・イベント'; // 投稿画面のメニュー名
        $args['labels']['singular_name'] = '公演・イベント'; // 個別表示名
        $args['labels']['add_new'] = '新規追加';
        $args['labels']['add_new_item'] = '公演・イベントを追加';
        $args['labels']['edit_item'] = '公演・イベントを編集';
        $args['labels']['new_item'] = '公演・イベント';
        $args['labels']['view_item'] = '公演・イベントを表示';
        $args['labels']['search_items'] = '公演・イベントを検索';
        $args['labels']['not_found'] = '公演・イベントが見つかりませんでした';
        $args['labels']['not_found_in_trash'] = 'ゴミ箱に公演・イベントはありません';
    }
    return $args;
}
add_filter('cocoon_event_post_type_args', 'custom_event_post_type_label');