All in one SEO でアーカイブを含めたカスタム投稿タイプのディスクリプションとキーワードをまとめてテーマ関数で設定
add_filter( 'aioseop_description', 'custom_description' ); function custom_description( $description ) { if (get_post_type() === 'aaa') { $description = 'xxxxxxxxxxxxxxxxxxxxxxxx'; } elseif (get_post_type() === 'bbb') { $description = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'; } return $description; } add_filter( 'aioseop_keywords', 'custom_keywords' ); function custom_keywords( $keywords ) { if (get_post_type() === 'aaa') { $keywords = 'xxx,xxx,xxx,xxx,xxx,xxx,xxx'; } elseif (get_post_type() === 'bbb') { $keywords = 'xxx,xxx,xxx,xxx,xxx,xxx,xxx'; } return $keywords; }