{&{"if":{"cond":[["is_mode:canvas"]]}}&}
OGP設定エリア ※画面には表示されません。
og:title
{&"endif"&} {&{"input":{"type":"text","name":"og-title","label":"title","rows":"1","editor":"text"}}&} {&{"if":{"cond":[["is_mode:finalize"]]}}&} bowl()->put( ob_get_clean(), 'og:title' ); ?> {&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
og:description
{&"endif"&} {&{"input":{"type":"text","name":"og-description","label":"description","rows":"1","editor":"text"}}&} {&{"if":{"cond":[["is_mode:finalize"]]}}&} bowl()->put( ob_get_clean(), 'og:description' ); ?> {&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
og:image
{&"endif"&} {&{"if":{"cond":[["is_mode:finalize"]]}}&} bowl()->put( ob_get_clean(), 'og:image' ); ?> {&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
og:type
{&"endif"&} {&{"input":{"type":"select", "name":"og-type", "label":"type", "options":[ {"value":"website", "label":"website"}, {"value":"blog", "label":"blog"}, {"value":"article", "label":"article"} ]}}&} {&{"if":{"cond":[["is_mode:finalize"]]}}&} bowl()->put( ob_get_clean(), 'og:type' ); ?> {&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
OGPカスタム設定エリア ※画面には表示されません。
{&"endif"&} {&{"loop":{"name":"og_loop", "label":"OGPカスタム設定"}}&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&{"input":{"type":"text","name":"og-custom-property","label":"property","rows":"1","editor":"text"}}&} {&{"if":{"cond":[["is_mode:finalize"]]}}&} bowl()->pull( 'og:custom-property' ); $custom_property_ary; if ( $custom_property ) { $custom_property_ary = json_decode( $custom_property ); array_push( $custom_property_ary, ob_get_clean() ); } else{ $custom_property_ary = array( ob_get_clean() ); } $px->bowl()->put( json_encode( $custom_property_ary ), 'og:custom-property' ); ?> {&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&{"input":{"type":"text","name":"og-custom-content","label":"content","rows":"1","editor":"text"}}&} {&{"if":{"cond":[["is_mode:finalize"]]}}&} bowl()->pull( 'og:custom-content' ); $custom_content_ary; if ($custom_content) { $custom_content_ary = json_decode( $custom_content ); array_push( $custom_content_ary, ob_get_clean() ); } else{ $custom_content_ary = array( ob_get_clean() ); } $px->bowl()->put( json_encode( $custom_content_ary ), 'og:custom-content' ); ?> {&"endif"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&} {&"endloop"&} {&{"if":{"cond":[["is_mode:canvas"]]}}&}
{&"endif"&}