add_field(
[
'id' => 'social_url_facebook',
'type' => 'text_url',
'name' => esc_html__( 'Facebook Page URL', 'rank-math' ),
'desc' => esc_html__( 'Enter your complete Facebook page URL here. eg:', 'rank-math' ) .
'
' . htmlspecialchars( 'https://www.facebook.com/RankMath/' ) . '
',
]
);
$cmb->add_field(
[
'id' => 'facebook_author_urls',
'type' => 'text_url',
'name' => esc_html__( 'Facebook Authorship', 'rank-math' ),
'desc' => esc_html__( 'Insert personal Facebook profile URL to show Facebook Authorship when your articles are being shared on Facebook. eg:', 'rank-math' ) .
'
' . htmlspecialchars( 'https://www.facebook.com/zuck' ) . '
',
]
);
$cmb->add_field(
[
'id' => 'facebook_admin_id',
'type' => 'text',
'name' => esc_html__( 'Facebook Admin', 'rank-math' ),
/* translators: numeric user ID link */
'desc' => sprintf( esc_html__( 'Enter %s. Use a comma to separate multiple IDs. Alternatively, you can enter an app ID below.', 'rank-math' ), 'numeric user ID' ),
]
);
$cmb->add_field(
[
'id' => 'facebook_app_id',
'type' => 'text',
'name' => esc_html__( 'Facebook App', 'rank-math' ),
/* translators: numeric app ID link */
'desc' => sprintf( esc_html__( 'Enter %s. Alternatively, you can enter a user ID above.', 'rank-math' ), 'numeric app ID' ),
]
);
$cmb->add_field(
[
'id' => 'facebook_secret',
'type' => 'text',
'name' => esc_html__( 'Facebook Secret', 'rank-math' ),
/* translators: Learn more link */
'desc' => sprintf( esc_html__( 'Enter alphanumeric secret ID. %s.', 'rank-math' ), 'Learn more' ),
'attributes' => [ 'type' => 'password' ],
]
);
$cmb->add_field(
[
'id' => 'social_url_facebook',
'type' => 'text_url',
'name' => esc_html__( 'Facebook Page URL', 'rank-math' ),
'desc' => esc_html__( 'Enter your complete Facebook page URL here. eg:', 'rank-math' ) .
'
' . htmlspecialchars( 'https://www.facebook.com/RankMath/' ) . '
',
]
);
$cmb->add_field(
[
'id' => 'twitter_author_names',
'type' => 'text',
'name' => esc_html__( 'Twitter Username', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter the Twitter username of the author to add twitter:creator
tag to posts. eg: RankMathSEO
', 'rank-math' ) ),
]
);
$cmb->add_field(
[
'id' => 'social_additional_profiles',
'type' => 'textarea_small',
'name' => esc_html__( 'Additional Profiles', 'rank-math' ),
'desc' => wp_kses_post( __( 'Additional Profiles to add in the sameAs
Schema property.', 'rank-math' ) ),
]
);