テーマで様々な条件で分岐する為に用意されている分岐タグ。
[wc_accordion collapse=”0″ leaveopen=”0″ layout=”box”]
[wc_accordion_section title=”フロント・ホーム”]
if ( is_front_page() ) {
// 固定ペーシをトップページにした場合
} elseif ( is_home() ) {
// 通常のトップ
}
[/wc_accordion_section]
[wc_accordion_section title=”管理画面側”]
if ( is_admin() ) {
}
[/wc_accordion_section]
[/wc_accordion]