args = array( 'slug' => 'veu_head_title', 'cf_name' => 'veu_head_title', 'title' => __( 'Head Title', 'vk-all-in-one-expansion-unit' ), 'priority' => 50, ); parent::__construct( $this->args ); } /** * metabox_body_form * Form inner * * @return [type] [description] */ public function metabox_body_form( $cf_value ) { global $post; $post_meta = get_post_meta( $post->ID, $this->args['cf_name'], true ); $title = ! empty( $post_meta['title'] ) ? $post_meta['title'] : ''; $checked = checked( ! empty( $post_meta['add_site_title'] ), true, false ); $form = ''; $form .= ''; $form .= '

' . __( 'If there is any input here, the input will be reflected in the title tag.', 'vk-all-in-one-expansion-unit' ) . '

'; $form .= '

' . __( 'Please note that the notation on the page will not be rewritten.', 'vk-all-in-one-expansion-unit' ) . '

'; $form .= ''; return $form; } } // class VEU_Metabox_Head_Title { $VEU_Metabox_Head_Title = new VEU_Metabox_Head_Title(); 2020年9月27日 | tyjはらしまの『ヲタわ無れ!(お戯れ)』

2020-09-27

アナタにオススメの広告
PAGE TOP
タイトルとURLをコピーしました