add_field([
'id' => 'social_url_facebook',
'type' => 'text',
'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',
'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_twitter',
'type' => 'text',
'name' => esc_html__( 'Twitter Profile URL', 'rank-math' ),
'desc' => esc_html__( 'Enter your complete Twitter Profile URL here. eg:', 'rank-math' ) .
'
' . htmlspecialchars( 'https://twitter.com/RankMathSEO/' ) . '',
]);
$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_url_google_places',
'type' => 'text',
'name' => esc_html__( 'Google Places', 'rank-math' ),
/* translators: How to find it? link */
'desc' => sprintf( esc_html__( 'Enter full URL of your Google Places listing here. %s', 'rank-math' ), 'How to find it?' ),
]);
$cmb->add_field([
'id' => 'social_url_yelp',
'type' => 'text',
'name' => esc_html__( 'Yelp Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your Yelp Listing\'s full URL here. eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://www.yelp.com/biz/the-house-san-francisco' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_foursquare',
'type' => 'text',
'name' => esc_html__( 'FourSquare Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your FourSquare Page\'s full URL here.', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://foursquare.com/v/lands-end/49bacd63f964a520b0531fe3' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_flickr',
'type' => 'text',
'name' => esc_html__( 'Flickr Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your Flickr Page or Profile URL here. eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://www.flickr.com/photos/albertdros/' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_reddit',
'type' => 'text',
'name' => esc_html__( 'Reddit Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your domain\'s Reddit URL here. eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://www.reddit.com/domain/rankmath.com/' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_linkedin',
'type' => 'text',
'name' => esc_html__( 'LinkedIn Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your LinkedIn profile URL (for personal blogs) or your company URL (for business blogs). eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://www.linkedin.com/company/rankmath/' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_instagram',
'type' => 'text',
'name' => esc_html__( 'Instagram Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your Instagram profile URL here. e.g: ', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://www.instagram.com/mkbhd/' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_youtube',
'type' => 'text',
'name' => esc_html__( 'Youtube Channel URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your YouTube Channel\'s URL here. e.g', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://www.youtube.com/channel/UC2t2B_nKC5jg1Ix5rU0Bz7A' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_pinterest',
'type' => 'text',
'name' => esc_html__( 'Pinterest Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your Pinterest Profile URL here. eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://in.pinterest.com/rankmath/' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_soundcloud',
'type' => 'text',
'name' => esc_html__( 'SoundClound Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your SoundCloud URL here. eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://soundcloud.com/rankmath' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_tumblr',
'type' => 'text',
'name' => esc_html__( 'Tumblr Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( 'Enter your Tumblr URL here. eg:', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://rankmath.tumblr.com' ) . '',
]);
$cmb->add_field([
'id' => 'social_url_myspace',
'type' => 'text',
'name' => esc_html__( 'Myspace Page URL', 'rank-math' ),
'desc' => wp_kses_post( __( ' Enter your MySpace profile here. e.g: ', 'rank-math' ) ) .
'
' . htmlspecialchars( 'https://myspace.com/katyperry' ) . '',
]);