Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/accelera.../includes/options
File: admin-config.php
'default' => '0',
[8000] Fix | Delete
'title' => esc_html__('Breadcrumbs', 'accelerated-mobile-pages'),
[8001] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable Breadcrumbs on Pages.','accelerated-mobile-pages'),
[8002] Fix | Delete
),
[8003] Fix | Delete
array(
[8004] Fix | Delete
'id' => 'meta_page',
[8005] Fix | Delete
'type' => 'switch',
[8006] Fix | Delete
'default' => '0',
[8007] Fix | Delete
'title' => esc_html__('Meta Information', 'accelerated-mobile-pages'),
[8008] Fix | Delete
),
[8009] Fix | Delete
array(
[8010] Fix | Delete
'id' => 'ampforwp_subpages_list',
[8011] Fix | Delete
'type' => 'switch',
[8012] Fix | Delete
'default' => '0',
[8013] Fix | Delete
'title' => esc_html__('Subpages/ChildPages', 'accelerated-mobile-pages'),
[8014] Fix | Delete
'tooltip-subtitle' => esc_html__('Shows a List of Subpages'),
[8015] Fix | Delete
),
[8016] Fix | Delete
array(
[8017] Fix | Delete
'id' => 'ampforwp-pages-recent-posts',
[8018] Fix | Delete
'type' => 'switch',
[8019] Fix | Delete
'title' => esc_html__('Recent Posts below Content', 'accelerated-mobile-pages'),
[8020] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[8021] Fix | Delete
esc_html__('Enable this option to show recent posts in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-enable-recent-posts-below-related-in-single-page/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[8022] Fix | Delete
'default' => 0,
[8023] Fix | Delete
'required' => array('amp-design-selector' , '=' , '4'),
[8024] Fix | Delete
),
[8025] Fix | Delete
array(
[8026] Fix | Delete
'id' => 'ampforwp-pages-recentpost-date',
[8027] Fix | Delete
'type' => 'switch',
[8028] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8029] Fix | Delete
'title' => esc_html__('Recent Posts Date', 'accelerated-mobile-pages'),
[8030] Fix | Delete
'default' => 1,
[8031] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show data below each post of Recent post loop'),
[8032] Fix | Delete
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
[8033] Fix | Delete
),
[8034] Fix | Delete
array(
[8035] Fix | Delete
'id' => 'ampforwp-pages-recentpost-image',
[8036] Fix | Delete
'type' => 'switch',
[8037] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8038] Fix | Delete
'title' => esc_html__('Image', 'accelerated-mobile-pages'),
[8039] Fix | Delete
'default' => 1,
[8040] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show image for each post of Recent post loop'),
[8041] Fix | Delete
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
[8042] Fix | Delete
),
[8043] Fix | Delete
array(
[8044] Fix | Delete
'id' => 'ampforwp-pages-recentpost-excerpt',
[8045] Fix | Delete
'type' => 'switch',
[8046] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8047] Fix | Delete
'title' => esc_html__('Excerpt', 'accelerated-mobile-pages'),
[8048] Fix | Delete
'default' => 1,
[8049] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show excerpt for each post of Recent post loop'),
[8050] Fix | Delete
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
[8051] Fix | Delete
),
[8052] Fix | Delete
array(
[8053] Fix | Delete
'id' =>'ampforwp-pages-recentpost-excerpt-len',
[8054] Fix | Delete
'class' => 'child_opt',
[8055] Fix | Delete
'type' =>'text',
[8056] Fix | Delete
'tooltip-subtitle' => esc_html__('Enter the number of words Eg: 15','accelerated-mobile-pages'),
[8057] Fix | Delete
'title' => esc_html__('Excerpt Length','accelerated-mobile-pages'),
[8058] Fix | Delete
'required' => array(
[8059] Fix | Delete
array('amp-design-selector', '=' , '4'),
[8060] Fix | Delete
array('ampforwp-pages-recentpost-excerpt', '=' , '1'),
[8061] Fix | Delete
),
[8062] Fix | Delete
'validate' =>'numeric',
[8063] Fix | Delete
'default' =>'15',
[8064] Fix | Delete
),
[8065] Fix | Delete
array(
[8066] Fix | Delete
'id' => 'ampforwp-pages-number-of-recent-posts',
[8067] Fix | Delete
'type' => 'text',
[8068] Fix | Delete
'class' => 'child_opt',
[8069] Fix | Delete
'title' => esc_html__('Number of Recent Post', 'accelerated-mobile-pages'),
[8070] Fix | Delete
'validate' => 'numeric',
[8071] Fix | Delete
'default' => '6',
[8072] Fix | Delete
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
[8073] Fix | Delete
),
[8074] Fix | Delete
array(
[8075] Fix | Delete
'id' => 'ampforwp-page-social',
[8076] Fix | Delete
'type' => 'switch',
[8077] Fix | Delete
'default' => '0',
[8078] Fix | Delete
'title' => esc_html__('Social Icons', 'accelerated-mobile-pages'),
[8079] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable Social Sharing on Pages'),
[8080] Fix | Delete
),
[8081] Fix | Delete
array(
[8082] Fix | Delete
'id' => 'ampforwp-page-sticky-social',
[8083] Fix | Delete
'type' => 'switch',
[8084] Fix | Delete
'default' => '0',
[8085] Fix | Delete
'title' => esc_html__('Sticky Social Icons', 'accelerated-mobile-pages'),
[8086] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable Social Sticky Icons on Pages'),
[8087] Fix | Delete
),
[8088] Fix | Delete
)
[8089] Fix | Delete
));
[8090] Fix | Delete
[8091] Fix | Delete
// Social Section
[8092] Fix | Delete
Redux::setSection( $opt_name, array(
[8093] Fix | Delete
'title' => esc_html__( 'Social Sharing', 'accelerated-mobile-pages' ),
[8094] Fix | Delete
'id' => 'amp-social',
[8095] Fix | Delete
'desc' => esc_html__('All the Social sharing and the social profile related settings are here','accelerated-mobile-pages'),
[8096] Fix | Delete
'subsection' => true,
[8097] Fix | Delete
'fields' => array(
[8098] Fix | Delete
array(
[8099] Fix | Delete
'id' => 'social-settings',
[8100] Fix | Delete
'type' => 'section',
[8101] Fix | Delete
'title' => esc_html__('Social Settings', 'accelerated-mobile-pages'),
[8102] Fix | Delete
'indent' => true,
[8103] Fix | Delete
'layout_type' => 'accordion',
[8104] Fix | Delete
'accordion-open'=> 1,
[8105] Fix | Delete
),
[8106] Fix | Delete
// Social Icons Option #3613
[8107] Fix | Delete
array(
[8108] Fix | Delete
'id' => 'ampforwp-social-share',
[8109] Fix | Delete
'type' => 'switch',
[8110] Fix | Delete
'title' => esc_html__('Social Share', 'accelerated-mobile-pages'),
[8111] Fix | Delete
'default' => 1,
[8112] Fix | Delete
),
[8113] Fix | Delete
// Social Icons Position [Swift] #1722
[8114] Fix | Delete
array(
[8115] Fix | Delete
'id' => 'swift-social-position',
[8116] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8117] Fix | Delete
'type' => 'select',
[8118] Fix | Delete
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
[8119] Fix | Delete
'options' => array(
[8120] Fix | Delete
'default' => 'Single Sidebar (left side)',
[8121] Fix | Delete
'above-content' => 'Above Content',
[8122] Fix | Delete
'below-content' => 'Below Content'
[8123] Fix | Delete
),
[8124] Fix | Delete
'default' => 'default',
[8125] Fix | Delete
'required' => array(array('amp-design-selector', '=', '4'),array('ampforwp-social-share', '=', '1') )
[8126] Fix | Delete
),
[8127] Fix | Delete
// Social Share links to AMP
[8128] Fix | Delete
array(
[8129] Fix | Delete
'id' => 'ampforwp-social-share-amp',
[8130] Fix | Delete
'type' => 'switch',
[8131] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8132] Fix | Delete
'title' => esc_html__('Social Share links to AMP', 'accelerated-mobile-pages'),
[8133] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[8134] Fix | Delete
esc_html__('Enable this option to share all your social links to AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-share-social-links-to-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[8135] Fix | Delete
'default' => 0,
[8136] Fix | Delete
'required' => array(array('ampforwp-social-share', '=', '1'))
[8137] Fix | Delete
),
[8138] Fix | Delete
// Social No Follow links
[8139] Fix | Delete
array(
[8140] Fix | Delete
'id' => 'ampforwp-social-no-follow',
[8141] Fix | Delete
'type' => 'switch',
[8142] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8143] Fix | Delete
'title' => esc_html__('No Follow All Your Social Links', 'accelerated-mobile-pages'),
[8144] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[8145] Fix | Delete
esc_html__('Enable this option to add no-follow to all your social links and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-no-follow-to-all-your-social-share-links/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[8146] Fix | Delete
'default' => 0,
[8147] Fix | Delete
'required' => array(array('ampforwp-social-share', '=', '1'))
[8148] Fix | Delete
),
[8149] Fix | Delete
array(
[8150] Fix | Delete
'id' => 'ampforwp-social-no-referrer',
[8151] Fix | Delete
'type' => 'switch',
[8152] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8153] Fix | Delete
'title' => esc_html__('No Referrer All Your Social Links', 'accelerated-mobile-pages'),
[8154] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[8155] Fix | Delete
esc_html__('Enable this option to add noreferrer to all your social links and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-noreferrer-to-all-your-social-share-links/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[8156] Fix | Delete
'default' => 0,
[8157] Fix | Delete
'required' => array(array('ampforwp-social-share', '=', '1'))
[8158] Fix | Delete
),
[8159] Fix | Delete
array(
[8160] Fix | Delete
'id' => 'ampforwp-social-no-opener',
[8161] Fix | Delete
'type' => 'switch',
[8162] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8163] Fix | Delete
'title' => esc_html__('No Opener All Your Social Links', 'accelerated-mobile-pages'),
[8164] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[8165] Fix | Delete
esc_html__('Enable this option to add noopener to all your social links and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-noopener-to-all-your-social-share-links/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[8166] Fix | Delete
'default' => 0,
[8167] Fix | Delete
'required' => array(array('ampforwp-social-share', '=', '1'))
[8168] Fix | Delete
),
[8169] Fix | Delete
$sassy_ss,
[8170] Fix | Delete
// AddThis Support
[8171] Fix | Delete
array(
[8172] Fix | Delete
'id' => 'add-this-support',
[8173] Fix | Delete
'type' => 'section',
[8174] Fix | Delete
'title' => esc_html__('AddThis Share Buttons', 'accelerated-mobile-pages'),
[8175] Fix | Delete
'indent' => true,
[8176] Fix | Delete
'layout_type' => 'accordion',
[8177] Fix | Delete
'accordion-open'=> 1,
[8178] Fix | Delete
),
[8179] Fix | Delete
[8180] Fix | Delete
array(
[8181] Fix | Delete
'id' => 'enable-add-this-option',
[8182] Fix | Delete
'type' => 'switch',
[8183] Fix | Delete
'title' => esc_html__('Smart Sorting Share Buttons', 'accelerated-mobile-pages'),
[8184] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="https://www.addthis.com/register" target="_blank">%s</a>, %s <a href="https://www.addthis.com/academy/how-to-customize-your-share-buttons-on-the-amp-for-wp-plugin" target="_blank">%s</a>',esc_html__('You are using the default AddThis share buttons. To customize your share buttons, create a free account at','accelerated-mobile-pages'),esc_html__('AddThis.com','accelerated-mobile-pages'),esc_html__('then activate the Inline Share Buttons. Once your buttons are activated, replace the default Pub ID and Tool ID with your personalized IDs. For instructions, visit','accelerated-mobile-pages'),esc_html__('here','accelerated-mobile-pages')),
[8185] Fix | Delete
'default' => true,
[8186] Fix | Delete
),
[8187] Fix | Delete
array(
[8188] Fix | Delete
'id' => 'addthis-floating-share',
[8189] Fix | Delete
'type' => 'switch',
[8190] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8191] Fix | Delete
'title' => esc_html__('Addthis Floating Share', 'accelerated-mobile-pages'),
[8192] Fix | Delete
'default' => '0',
[8193] Fix | Delete
'required' => array(array('enable-add-this-option', '=', '1'))
[8194] Fix | Delete
),
[8195] Fix | Delete
array(
[8196] Fix | Delete
'id' => 'addthis-inline-share',
[8197] Fix | Delete
'type' => 'switch',
[8198] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8199] Fix | Delete
'title' => esc_html__('Addthis Inline Share', 'accelerated-mobile-pages'),
[8200] Fix | Delete
'default' => '1',
[8201] Fix | Delete
'required' => array(array('enable-add-this-option', '=', '1'))
[8202] Fix | Delete
),
[8203] Fix | Delete
array(
[8204] Fix | Delete
'id' => 'swift-add-this-position',
[8205] Fix | Delete
'type' => 'select',
[8206] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8207] Fix | Delete
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
[8208] Fix | Delete
'options' => array(
[8209] Fix | Delete
'default' => 'Single Sidebar (left side)',
[8210] Fix | Delete
'above-content' => 'Above Content',
[8211] Fix | Delete
'below-content' => 'Below Content'
[8212] Fix | Delete
),
[8213] Fix | Delete
'default' => 'below-content',
[8214] Fix | Delete
'required' => array(
[8215] Fix | Delete
array('amp-design-selector', '=', '4'),
[8216] Fix | Delete
array('enable-add-this-option', '=', '1'),
[8217] Fix | Delete
array('single-design-type', '=', '1'),
[8218] Fix | Delete
array('addthis-inline-share', '=', '1'),
[8219] Fix | Delete
)
[8220] Fix | Delete
),
[8221] Fix | Delete
array(
[8222] Fix | Delete
'id' => 'swift-layout-addthis-pos',
[8223] Fix | Delete
'type' => 'select',
[8224] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8225] Fix | Delete
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
[8226] Fix | Delete
'options' => array(
[8227] Fix | Delete
'above-content' => 'Above Content',
[8228] Fix | Delete
'below-content' => 'Below Content'
[8229] Fix | Delete
),
[8230] Fix | Delete
'default' => 'below-content',
[8231] Fix | Delete
'required' => array(
[8232] Fix | Delete
array('amp-design-selector', '=', '4'),
[8233] Fix | Delete
array('enable-add-this-option', '=', '1'),
[8234] Fix | Delete
array('single-design-type', '!=', '1'),
[8235] Fix | Delete
array('single-design-type', '!=', '6'),
[8236] Fix | Delete
array('addthis-inline-share', '=', '1'),
[8237] Fix | Delete
)
[8238] Fix | Delete
),
[8239] Fix | Delete
array(
[8240] Fix | Delete
'id' => 'swift-layout-6-addthis-pos',
[8241] Fix | Delete
'type' => 'select',
[8242] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8243] Fix | Delete
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
[8244] Fix | Delete
'options' => array(
[8245] Fix | Delete
'above-content' => 'Above Content',
[8246] Fix | Delete
'below-content' => 'Below Content'
[8247] Fix | Delete
),
[8248] Fix | Delete
'default' => 'above-content',
[8249] Fix | Delete
'required' => array(
[8250] Fix | Delete
array('amp-design-selector', '=', '4'),
[8251] Fix | Delete
array('enable-add-this-option', '=', '1'),
[8252] Fix | Delete
array('single-design-type', '=', '6'),
[8253] Fix | Delete
array('addthis-inline-share', '=', '1'),
[8254] Fix | Delete
)
[8255] Fix | Delete
),
[8256] Fix | Delete
array(
[8257] Fix | Delete
'id' => 'design-1-2-3-addthis-pos',
[8258] Fix | Delete
'type' => 'select',
[8259] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8260] Fix | Delete
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
[8261] Fix | Delete
'options' => array(
[8262] Fix | Delete
'above-content' => 'Above Content',
[8263] Fix | Delete
'below-content' => 'Below Content'
[8264] Fix | Delete
),
[8265] Fix | Delete
'default' => 'below-content',
[8266] Fix | Delete
'required' => array(
[8267] Fix | Delete
array('amp-design-selector', '!=', '4'),
[8268] Fix | Delete
array('enable-add-this-option', '=', '1'),
[8269] Fix | Delete
array('addthis-inline-share', '=', '1'),
[8270] Fix | Delete
)
[8271] Fix | Delete
),
[8272] Fix | Delete
array(
[8273] Fix | Delete
'id' => 'add-this-pub-id',
[8274] Fix | Delete
'title' => esc_html__('Pub ID', 'accelerated-mobile-pages'),
[8275] Fix | Delete
'type' => 'text',
[8276] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8277] Fix | Delete
'required' => array('enable-add-this-option', '=' , '1'),
[8278] Fix | Delete
'default' => esc_html__('ra-5cc8551aa4f16f5c','accelerated-mobile-pages'),
[8279] Fix | Delete
),
[8280] Fix | Delete
array(
[8281] Fix | Delete
'id' => 'add-this-widget-id',
[8282] Fix | Delete
'title' => esc_html__('Tool ID', 'accelerated-mobile-pages'),
[8283] Fix | Delete
'type' => 'text',
[8284] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8285] Fix | Delete
'required' => array('enable-add-this-option', '=' , '1'),
[8286] Fix | Delete
'default' => esc_html__('cwgj','accelerated-mobile-pages'),
[8287] Fix | Delete
),
[8288] Fix | Delete
//End AddThis Support
[8289] Fix | Delete
//Start Social Sticky Icon
[8290] Fix | Delete
array(
[8291] Fix | Delete
'id' => 'sticky-social-settings',
[8292] Fix | Delete
'type' => 'section',
[8293] Fix | Delete
'title' => esc_html__('Sticky Social', 'accelerated-mobile-pages'),
[8294] Fix | Delete
'indent' => true,
[8295] Fix | Delete
'layout_type' => 'accordion',
[8296] Fix | Delete
'accordion-open'=> 1,
[8297] Fix | Delete
),
[8298] Fix | Delete
// Social Sticky Icons ON/OFF
[8299] Fix | Delete
array(
[8300] Fix | Delete
'id' => 'enable-single-social-icons',
[8301] Fix | Delete
'type' => 'switch',
[8302] Fix | Delete
'default' => '1',
[8303] Fix | Delete
'title' => esc_html__('Sticky Social Sharing bar', 'accelerated-mobile-pages'),
[8304] Fix | Delete
),
[8305] Fix | Delete
//End Social Sticky Icon
[8306] Fix | Delete
array(
[8307] Fix | Delete
'id' => 'social-shre',
[8308] Fix | Delete
'type' => 'section',
[8309] Fix | Delete
'title' => esc_html__('Social Sharing', 'accelerated-mobile-pages'),
[8310] Fix | Delete
'indent' => true,
[8311] Fix | Delete
'layout_type' => 'accordion',
[8312] Fix | Delete
'accordion-open'=> 1,
[8313] Fix | Delete
'required' => array(array('ampforwp-social-share', '=', '1'))
[8314] Fix | Delete
),
[8315] Fix | Delete
// Facebook Like
[8316] Fix | Delete
array(
[8317] Fix | Delete
'id' => 'ampforwp-facebook-like-button',
[8318] Fix | Delete
'type' => 'switch',
[8319] Fix | Delete
'title' => esc_html__('Facebook Like Button', 'accelerated-mobile-pages'),
[8320] Fix | Delete
'default' => 0,
[8321] Fix | Delete
),
[8322] Fix | Delete
array(
[8323] Fix | Delete
'id' => 'ampforwp-facebook-like-data-action',
[8324] Fix | Delete
'type' => 'switch',
[8325] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8326] Fix | Delete
'title' => esc_html__('Add Recommend Label', 'accelerated-mobile-pages'),
[8327] Fix | Delete
'tooltip-subtitle' => esc_html__('Button text will be replaced from \'Like\' to \'Recommend\'', 'accelerated-mobile-pages'),
[8328] Fix | Delete
'default' => 0,
[8329] Fix | Delete
'required' => array('ampforwp-facebook-like-button', '=' , '1'),
[8330] Fix | Delete
),
[8331] Fix | Delete
array(
[8332] Fix | Delete
'id' => 'ampforwp-facebook-like-width',
[8333] Fix | Delete
'type' => 'text',
[8334] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8335] Fix | Delete
'title' => esc_html__('Width for Facebook like button', 'accelerated-mobile-pages'),
[8336] Fix | Delete
'required' => array('ampforwp-facebook-like-data-action', '=' , '1'),
[8337] Fix | Delete
'tooltip-subtitle' => esc_html__('Enter the width of Facebook like button in px, default value is 140.', 'accelerated-mobile-pages'),
[8338] Fix | Delete
'default' => '140',
[8339] Fix | Delete
),
[8340] Fix | Delete
// Facebook ON/OFF
[8341] Fix | Delete
array(
[8342] Fix | Delete
'id' => 'enable-single-facebook-share',
[8343] Fix | Delete
'type' => 'switch',
[8344] Fix | Delete
//'required' => array('enable-single-social-icons', '=' , '1'),
[8345] Fix | Delete
'title' => esc_html__('Facebook', 'accelerated-mobile-pages'),
[8346] Fix | Delete
'default' => 0,
[8347] Fix | Delete
),
[8348] Fix | Delete
// Facebook app ID
[8349] Fix | Delete
array(
[8350] Fix | Delete
'id' => 'amp-facebook-app-id',
[8351] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8352] Fix | Delete
'title' => esc_html__('Facebook App ID', 'accelerated-mobile-pages'),
[8353] Fix | Delete
'tooltip-subtitle' => esc_html__('In order to use Facebook share you need to register an app ID, <a href="https://developers.facebook.com/apps" style="color:#93FCFF;" >You can register one here: https://developers.facebook.com/apps.', 'accelerated-mobile-pages'),
[8354] Fix | Delete
'type' => 'text',
[8355] Fix | Delete
'required' => array(array('enable-single-facebook-share', '=' , '1'),array('amp-design-selector', '!=' , '4')),
[8356] Fix | Delete
'placeholder' => esc_html__('Enter your facebook app id','accelerated-mobile-pages'),
[8357] Fix | Delete
'default' => '',
[8358] Fix | Delete
),
[8359] Fix | Delete
// Facebook Messenger ON/OFF
[8360] Fix | Delete
array(
[8361] Fix | Delete
'id' => 'enable-single-facebook-share-messenger',
[8362] Fix | Delete
'type' => 'switch',
[8363] Fix | Delete
'title' => esc_html__('Facebook Messenger', 'accelerated-mobile-pages'),
[8364] Fix | Delete
'default' => 0,
[8365] Fix | Delete
),
[8366] Fix | Delete
// Facebook app ID
[8367] Fix | Delete
array(
[8368] Fix | Delete
'id' => 'amp-facebook-app-id-messenger',
[8369] Fix | Delete
'title' => esc_html__('Facebook App ID', 'accelerated-mobile-pages'),
[8370] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[8371] Fix | Delete
'tooltip-subtitle' => sprintf( '%s <a style="color:#93FCFF;" href="%s" target="_blank">%s</a> %s <a style="color:#93FCFF;" href="%s" target="_blank">%s</a>',esc_html__('In order to use Facebook share you need to register an app ID','accelerated-mobile-pages'),esc_url("https://developers.facebook.com/apps"),esc_html__('here','accelerated-mobile-pages'),esc_html__('You can register one','accelerated-mobile-pages'),esc_url('https://developers.facebook.com/apps'),esc_html__('here','accelerated-mobile-pages') ),
[8372] Fix | Delete
'type' => 'text',
[8373] Fix | Delete
'required' => array('enable-single-facebook-share-messenger', '=' , '1'),
[8374] Fix | Delete
'placeholder' => esc_html__('Enter your facebook app id','accelerated-mobile-pages'),
[8375] Fix | Delete
'default' => '',
[8376] Fix | Delete
),
[8377] Fix | Delete
// Twitter ON/OFF
[8378] Fix | Delete
array(
[8379] Fix | Delete
'id' => 'enable-single-twitter-share',
[8380] Fix | Delete
'type' => 'switch',
[8381] Fix | Delete
'title' => esc_html__('X', 'accelerated-mobile-pages'),
[8382] Fix | Delete
'default' => 1,
[8383] Fix | Delete
),
[8384] Fix | Delete
array(
[8385] Fix | Delete
'id' => 'enable-single-twitter-share-handle',
[8386] Fix | Delete
'type' => 'text',
[8387] Fix | Delete
'class' => 'child_opt',
[8388] Fix | Delete
'title' => esc_html__('X Handle', 'accelerated-mobile-pages'),
[8389] Fix | Delete
'required' => array('enable-single-twitter-share', '=' , '1'),
[8390] Fix | Delete
'placeholder' => esc_html__('username','accelerated-mobile-pages'),
[8391] Fix | Delete
'default' => '',
[8392] Fix | Delete
),
[8393] Fix | Delete
array(
[8394] Fix | Delete
'id' => 'enable-single-twitter-share-link',
[8395] Fix | Delete
'type' => 'switch',
[8396] Fix | Delete
'class' => 'child_opt',
[8397] Fix | Delete
'title' => esc_html__('Pretty Permalinks for X Share?', 'accelerated-mobile-pages'),
[8398] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this to have pretty links for twitter sharing'),
[8399] Fix | Delete
'default' => 0,
[8400] Fix | Delete
'required' => array('enable-single-twitter-share', '=' , '1'),
[8401] Fix | Delete
),
[8402] Fix | Delete
// Email ON/OFF
[8403] Fix | Delete
array(
[8404] Fix | Delete
'id' => 'enable-single-email-share',
[8405] Fix | Delete
'type' => 'switch',
[8406] Fix | Delete
'title' => esc_html__('Email', 'accelerated-mobile-pages'),
[8407] Fix | Delete
'default' => 1,
[8408] Fix | Delete
),
[8409] Fix | Delete
// Pinterest ON/OFF
[8410] Fix | Delete
array(
[8411] Fix | Delete
'id' => 'enable-single-pinterest-share',
[8412] Fix | Delete
'type' => 'switch',
[8413] Fix | Delete
'title' => esc_html__('Pinterest', 'accelerated-mobile-pages'),
[8414] Fix | Delete
'default' => 1,
[8415] Fix | Delete
),
[8416] Fix | Delete
// LinkedIn ON/OFF
[8417] Fix | Delete
array(
[8418] Fix | Delete
'id' => 'enable-single-linkedin-share',
[8419] Fix | Delete
'type' => 'switch',
[8420] Fix | Delete
'title' => esc_html__('LinkedIn', 'accelerated-mobile-pages'),
[8421] Fix | Delete
'default' => 1,
[8422] Fix | Delete
),
[8423] Fix | Delete
// WhatsApp
[8424] Fix | Delete
array(
[8425] Fix | Delete
'id' => 'enable-single-whatsapp-share',
[8426] Fix | Delete
'type' => 'switch',
[8427] Fix | Delete
'title' => esc_html__('WhatsApp', 'accelerated-mobile-pages'),
[8428] Fix | Delete
'default' => 1,
[8429] Fix | Delete
),
[8430] Fix | Delete
// LINE
[8431] Fix | Delete
array(
[8432] Fix | Delete
'id' => 'enable-single-line-share',
[8433] Fix | Delete
'type' => 'switch',
[8434] Fix | Delete
'title' => esc_html__('Line', 'accelerated-mobile-pages'),
[8435] Fix | Delete
'default' => 1,
[8436] Fix | Delete
),
[8437] Fix | Delete
// VKontakte
[8438] Fix | Delete
array(
[8439] Fix | Delete
'id' => 'enable-single-vk-share',
[8440] Fix | Delete
'type' => 'switch',
[8441] Fix | Delete
'title' => esc_html__('VKontakte', 'accelerated-mobile-pages'),
[8442] Fix | Delete
'default' => 0,
[8443] Fix | Delete
),
[8444] Fix | Delete
// Odnoklassniki
[8445] Fix | Delete
array(
[8446] Fix | Delete
'id' => 'enable-single-odnoklassniki-share',
[8447] Fix | Delete
'type' => 'switch',
[8448] Fix | Delete
'title' => esc_html__('Odnoklassniki', 'accelerated-mobile-pages'),
[8449] Fix | Delete
'default' => 0,
[8450] Fix | Delete
),
[8451] Fix | Delete
// Reddit
[8452] Fix | Delete
array(
[8453] Fix | Delete
'id' => 'enable-single-reddit-share',
[8454] Fix | Delete
'type' => 'switch',
[8455] Fix | Delete
'title' => esc_html__('Reddit', 'accelerated-mobile-pages'),
[8456] Fix | Delete
'default' => 0,
[8457] Fix | Delete
),
[8458] Fix | Delete
// Tumblr
[8459] Fix | Delete
array(
[8460] Fix | Delete
'id' => 'enable-single-tumblr-share',
[8461] Fix | Delete
'type' => 'switch',
[8462] Fix | Delete
'title' => esc_html__('Tumblr', 'accelerated-mobile-pages'),
[8463] Fix | Delete
'default' => 0,
[8464] Fix | Delete
),
[8465] Fix | Delete
// Telegram
[8466] Fix | Delete
array(
[8467] Fix | Delete
'id' => 'enable-single-telegram-share',
[8468] Fix | Delete
'type' => 'switch',
[8469] Fix | Delete
'title' => esc_html__('Telegram', 'accelerated-mobile-pages'),
[8470] Fix | Delete
'default' => 0,
[8471] Fix | Delete
),
[8472] Fix | Delete
// StumbleUpon
[8473] Fix | Delete
array(
[8474] Fix | Delete
'id' => 'enable-single-stumbleupon-share',
[8475] Fix | Delete
'type' => 'switch',
[8476] Fix | Delete
'title' => esc_html__('StumbleUpon', 'accelerated-mobile-pages'),
[8477] Fix | Delete
'default' => 0,
[8478] Fix | Delete
),
[8479] Fix | Delete
// Wechat
[8480] Fix | Delete
array(
[8481] Fix | Delete
'id' => 'enable-single-wechat-share',
[8482] Fix | Delete
'type' => 'switch',
[8483] Fix | Delete
'title' => esc_html__('Wechat', 'accelerated-mobile-pages'),
[8484] Fix | Delete
'default' => 0,
[8485] Fix | Delete
),
[8486] Fix | Delete
// Viber
[8487] Fix | Delete
array(
[8488] Fix | Delete
'id' => 'enable-single-viber-share',
[8489] Fix | Delete
'type' => 'switch',
[8490] Fix | Delete
'title' => esc_html__('Viber', 'accelerated-mobile-pages'),
[8491] Fix | Delete
'default' => 0,
[8492] Fix | Delete
),
[8493] Fix | Delete
// Hatena BookMark
[8494] Fix | Delete
array(
[8495] Fix | Delete
'id' => 'enable-single-hatena-bookmarks',
[8496] Fix | Delete
'type' => 'switch',
[8497] Fix | Delete
'title' => esc_html__('Hatena Bookmarks', 'accelerated-mobile-pages'),
[8498] Fix | Delete
'default' => 0,
[8499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function