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
'class' => 'child_opt child_opt_arrow',
[7000] Fix | Delete
'title' => esc_html__('Recent Posts Date', 'accelerated-mobile-pages'),
[7001] Fix | Delete
'default' => 1,
[7002] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show data below each post of Recent post loop'),
[7003] Fix | Delete
'required' => array('ampforwp-design3-recent-posts' , '=' , '1'),
[7004] Fix | Delete
),
[7005] Fix | Delete
array(
[7006] Fix | Delete
'id' => 'amforwp-design3-recentpost-image-switch',
[7007] Fix | Delete
'type' => 'switch',
[7008] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[7009] Fix | Delete
'title' => esc_html__('Image', 'accelerated-mobile-pages'),
[7010] Fix | Delete
'default' => 1,
[7011] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show image for each post of Recent post loop'),
[7012] Fix | Delete
'required' => array('ampforwp-design3-recent-posts' , '=' , '1'),
[7013] Fix | Delete
),
[7014] Fix | Delete
array(
[7015] Fix | Delete
'id' => 'amforwp-design3-recentpost-excerpt-switch',
[7016] Fix | Delete
'type' => 'switch',
[7017] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[7018] Fix | Delete
'title' => esc_html__('Excerpt', 'accelerated-mobile-pages'),
[7019] Fix | Delete
'default' => 1,
[7020] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show excerpt for each post of Recent post loop'),
[7021] Fix | Delete
'required' => array('ampforwp-design3-recent-posts' , '=' , '1'),
[7022] Fix | Delete
),
[7023] Fix | Delete
array(
[7024] Fix | Delete
'id' =>'amp-design3-recentpost-excerpt-len',
[7025] Fix | Delete
'class' => 'child_opt',
[7026] Fix | Delete
'type' =>'text',
[7027] Fix | Delete
'tooltip-subtitle' => esc_html__('Enter the number of words Eg: 15','accelerated-mobile-pages'),
[7028] Fix | Delete
'title' => esc_html__('Excerpt Length','accelerated-mobile-pages'),
[7029] Fix | Delete
'required' => array(
[7030] Fix | Delete
array('amp-design-selector', '=' , '3'),
[7031] Fix | Delete
array('amforwp-design3-recentpost-excerpt-switch', '=' , '1'),
[7032] Fix | Delete
),
[7033] Fix | Delete
'validate' =>'numeric',
[7034] Fix | Delete
'default' =>'15',
[7035] Fix | Delete
),
[7036] Fix | Delete
array(
[7037] Fix | Delete
'id' => 'ampforwp-design3-number-of-recent-posts',
[7038] Fix | Delete
'type' => 'text',
[7039] Fix | Delete
'class' => 'child_opt',
[7040] Fix | Delete
'title' => esc_html__('Number of Recent Post', 'accelerated-mobile-pages'),
[7041] Fix | Delete
'default' => '6',
[7042] Fix | Delete
'required' => array('ampforwp-design3-recent-posts' , '=' , '1'),
[7043] Fix | Delete
),
[7044] Fix | Delete
array(
[7045] Fix | Delete
'id' => 'ampforwp-inline-related-posts',
[7046] Fix | Delete
'type' => 'switch',
[7047] Fix | Delete
'title' => esc_html__('In-Content Related Post', 'accelerated-mobile-pages'),
[7048] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7049] Fix | Delete
esc_html__('Enable this option to show inline related posts in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-in-content-related-posts-on-single-pages/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7050] Fix | Delete
[7051] Fix | Delete
'default' => 0,
[7052] Fix | Delete
),
[7053] Fix | Delete
array(
[7054] Fix | Delete
'id' => 'ampforwp-inline-related-posts-type',
[7055] Fix | Delete
'type' => 'select',
[7056] Fix | Delete
'title' => esc_html__('In-content Related Post by', 'accelerated-mobile-pages'),
[7057] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[7058] Fix | Delete
'options' => array(
[7059] Fix | Delete
'1' => 'Tags',
[7060] Fix | Delete
'2' => 'Categories',
[7061] Fix | Delete
),
[7062] Fix | Delete
'default' => '2',
[7063] Fix | Delete
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
[7064] Fix | Delete
),
[7065] Fix | Delete
array(
[7066] Fix | Delete
'id' => 'ampforwp-inline-related-posts-order',
[7067] Fix | Delete
'type' => 'switch',
[7068] Fix | Delete
'class' => 'child_opt',
[7069] Fix | Delete
'title' => esc_html__('Sort Related Posts Randomly', 'accelerated-mobile-pages'),
[7070] Fix | Delete
'default' => 0,
[7071] Fix | Delete
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
[7072] Fix | Delete
),
[7073] Fix | Delete
array(
[7074] Fix | Delete
'id' => 'ampforwp-incontent-related-posts-excerpt',
[7075] Fix | Delete
'type' => 'switch',
[7076] Fix | Delete
'class' => 'child_opt',
[7077] Fix | Delete
'title' => esc_html__('Excerpt', 'accelerated-mobile-pages'),
[7078] Fix | Delete
'default' => 1,
[7079] Fix | Delete
'required' => array(
[7080] Fix | Delete
array('ampforwp-inline-related-posts', '=' , '1')
[7081] Fix | Delete
),
[7082] Fix | Delete
),
[7083] Fix | Delete
array(
[7084] Fix | Delete
'id' => 'ampforwp-number-of-inline-related-posts',
[7085] Fix | Delete
'type' => 'text',
[7086] Fix | Delete
'class' => 'child_opt',
[7087] Fix | Delete
'title' => esc_html__('Display No. of Related Posts', 'accelerated-mobile-pages'),
[7088] Fix | Delete
'validate' => 'numeric',
[7089] Fix | Delete
'default' => '3',
[7090] Fix | Delete
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
[7091] Fix | Delete
),
[7092] Fix | Delete
array(
[7093] Fix | Delete
'id' => 'ampforwp-inline-related-posts-display-type',
[7094] Fix | Delete
'type' => 'select',
[7095] Fix | Delete
'title' => esc_html__('Related Post Display', 'accelerated-mobile-pages'),
[7096] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[7097] Fix | Delete
'options' => array(
[7098] Fix | Delete
'middle' => 'After 50% of Content',
[7099] Fix | Delete
'paragraphs' => 'X number of paragraphs',
[7100] Fix | Delete
),
[7101] Fix | Delete
'default' => 'middle',
[7102] Fix | Delete
'required' => array( array('ampforwp-inline-related-posts', '=' , '1') ),
[7103] Fix | Delete
),
[7104] Fix | Delete
array(
[7105] Fix | Delete
'id' => 'ampforwp-related-posts-after-number-of-paragraphs',
[7106] Fix | Delete
'type' => 'text',
[7107] Fix | Delete
'class' => 'child_opt',
[7108] Fix | Delete
'title' => esc_html__('Related Post After No. of Paragraphs', 'accelerated-mobile-pages'),
[7109] Fix | Delete
'validate' => 'numeric',
[7110] Fix | Delete
'default' => '3',
[7111] Fix | Delete
'required' => array( array('ampforwp-inline-related-posts', '=' , '1'),array('ampforwp-inline-related-posts-display-type', '=' , 'paragraphs') ),
[7112] Fix | Delete
),
[7113] Fix | Delete
array(
[7114] Fix | Delete
'id' => 'ampforwp-in-content-related-posts-days-switch',
[7115] Fix | Delete
'type' => 'switch',
[7116] Fix | Delete
'class' => 'child_opt',
[7117] Fix | Delete
'title' => esc_html__('By Last X Days', 'accelerated-mobile-pages'),
[7118] Fix | Delete
'tooltip-subtitle' => esc_html__('Show In Content Related Posts From Past Few Days', 'accelerated-mobile-pages'),
[7119] Fix | Delete
'default' => 0,
[7120] Fix | Delete
'required' => array('ampforwp-inline-related-posts', '=' , '1'),
[7121] Fix | Delete
),
[7122] Fix | Delete
array(
[7123] Fix | Delete
'id' => 'ampforwp-in-content-related-posts-days-text',
[7124] Fix | Delete
'type' => 'text',
[7125] Fix | Delete
'class' => 'child_opt',
[7126] Fix | Delete
'title' => esc_html__('Number of Days', 'accelerated-mobile-pages'),
[7127] Fix | Delete
'validate' => 'numeric',
[7128] Fix | Delete
'default' => '7',
[7129] Fix | Delete
'required' => array('ampforwp-in-content-related-posts-days-switch', '=' , '1'),
[7130] Fix | Delete
),
[7131] Fix | Delete
$jetpack_rp,
[7132] Fix | Delete
array(
[7133] Fix | Delete
'id' => 'single-tab-2',
[7134] Fix | Delete
'type' => 'section',
[7135] Fix | Delete
'title' => esc_html__('General', 'accelerated-mobile-pages'),
[7136] Fix | Delete
'indent' => true,
[7137] Fix | Delete
'layout_type' => 'accordion',
[7138] Fix | Delete
'accordion-open'=> 1,
[7139] Fix | Delete
),
[7140] Fix | Delete
// Lightbox
[7141] Fix | Delete
array(
[7142] Fix | Delete
'id' => 'ampforwp-amp-img-lightbox',
[7143] Fix | Delete
'type' => 'switch',
[7144] Fix | Delete
'default' => '0',
[7145] Fix | Delete
'title' => esc_html__('Lightbox for Images', 'accelerated-mobile-pages'),
[7146] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7147] Fix | Delete
esc_html__('Enable this option to show lightbox for images in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-enable-lightbox-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7148] Fix | Delete
[7149] Fix | Delete
),
[7150] Fix | Delete
array(
[7151] Fix | Delete
'id' => 'ampforwp-amp-video-lightbox',
[7152] Fix | Delete
'type' => 'switch',
[7153] Fix | Delete
'default' => '0',
[7154] Fix | Delete
'title' => esc_html__('Lightbox for Youtube Video', 'accelerated-mobile-pages'),
[7155] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7156] Fix | Delete
esc_html__('Enable this option to show lightbox for Youtube in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-enable-lightbox-for-youtube-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7157] Fix | Delete
),
[7158] Fix | Delete
// video-docking
[7159] Fix | Delete
array(
[7160] Fix | Delete
'id' => 'ampforwp-amp-video-docking',
[7161] Fix | Delete
'type' => 'switch',
[7162] Fix | Delete
'title' => esc_html__('Video Docking', 'accelerated-mobile-pages'),
[7163] Fix | Delete
'tooltip-subtitle' => esc_html__('On scroll, the video will minimize to an automatically calculated corner.', 'accelerated-mobile-pages'),
[7164] Fix | Delete
'default' => 0,
[7165] Fix | Delete
),
[7166] Fix | Delete
// Dropcap
[7167] Fix | Delete
array(
[7168] Fix | Delete
'id' => 'ampforwp-dropcap',
[7169] Fix | Delete
'type' => 'switch',
[7170] Fix | Delete
'default' => '0',
[7171] Fix | Delete
'title' => esc_html__('Dropcap', 'accelerated-mobile-pages'),
[7172] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7173] Fix | Delete
esc_html__('Enable this option to show dropcap in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-use-dropcap-feature-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7174] Fix | Delete
[7175] Fix | Delete
'required' => array(
[7176] Fix | Delete
array('amp-design-selector', '=' , '4')
[7177] Fix | Delete
)
[7178] Fix | Delete
),
[7179] Fix | Delete
array(
[7180] Fix | Delete
'class' => 'child_opt',
[7181] Fix | Delete
'id' => 'ampforwp-dropcap-font',
[7182] Fix | Delete
'type' => 'text',
[7183] Fix | Delete
'title' => esc_html__('Font Size', 'accelerated-mobile-pages'),
[7184] Fix | Delete
'tooltip-subtitle' => esc_html__('Default font size is 75 pixels', 'accelerated-mobile-pages'),
[7185] Fix | Delete
'default' => '75',
[7186] Fix | Delete
'required'=>array('ampforwp-dropcap','=', '1'),
[7187] Fix | Delete
),
[7188] Fix | Delete
array(
[7189] Fix | Delete
'class' => 'child_opt',
[7190] Fix | Delete
'id' => 'ampforwp-dropcap-color',
[7191] Fix | Delete
'title' => esc_html__('Color', 'accelerated-mobile-pages'),
[7192] Fix | Delete
'tooltip-subtitle' => esc_html__('Choose the color for dropcap','accelerated-mobile-pages'),
[7193] Fix | Delete
'type' => 'color_rgba',
[7194] Fix | Delete
'default' => array(
[7195] Fix | Delete
'color' => '#000',
[7196] Fix | Delete
),
[7197] Fix | Delete
'required'=>array('ampforwp-dropcap','=', '1'),
[7198] Fix | Delete
),
[7199] Fix | Delete
// Content h1 - h6 font sizes //#2059
[7200] Fix | Delete
array(
[7201] Fix | Delete
'id' => 'swift_cnt',
[7202] Fix | Delete
'type' => 'switch',
[7203] Fix | Delete
'title' => esc_html__( 'H1 - H6 Font Sizes', 'accelerated-mobile-pages' ),
[7204] Fix | Delete
'default' => 0,
[7205] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7206] Fix | Delete
esc_html__('Enable this option to change default heading size in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-change-font-size-of-h1-h6/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7207] Fix | Delete
[7208] Fix | Delete
),
[7209] Fix | Delete
array(
[7210] Fix | Delete
'id' => 'swift_cnt_h1',
[7211] Fix | Delete
'type' => 'switch',
[7212] Fix | Delete
'class' => 'child_opt',
[7213] Fix | Delete
'title' => esc_html__('H1', 'accelerated-mobile-pages'),
[7214] Fix | Delete
'default' => 0,
[7215] Fix | Delete
'required' => array('swift_cnt' , '=' , '1'),
[7216] Fix | Delete
),
[7217] Fix | Delete
array(
[7218] Fix | Delete
'id' => 'swift_h1_sz',
[7219] Fix | Delete
'type' => 'text',
[7220] Fix | Delete
'class' => 'child_opt',
[7221] Fix | Delete
'title' => esc_html__('H1 Font Size', 'accelerated-mobile-pages'),
[7222] Fix | Delete
'default' => '28px',
[7223] Fix | Delete
'required' => array('swift_cnt_h1' , '=' , '1'),
[7224] Fix | Delete
array('swift_cnt' , '=' , '1')
[7225] Fix | Delete
),
[7226] Fix | Delete
array(
[7227] Fix | Delete
'id' => 'swift_cnt_h2',
[7228] Fix | Delete
'type' => 'switch',
[7229] Fix | Delete
'class' => 'child_opt',
[7230] Fix | Delete
'title' => esc_html__('H2', 'accelerated-mobile-pages'),
[7231] Fix | Delete
'default' => 0,
[7232] Fix | Delete
'required' => array('swift_cnt' , '=' , '1'),
[7233] Fix | Delete
),
[7234] Fix | Delete
array(
[7235] Fix | Delete
'id' => 'swift_h2_sz',
[7236] Fix | Delete
'type' => 'text',
[7237] Fix | Delete
'class' => 'child_opt',
[7238] Fix | Delete
'title' => esc_html__('H2 Font Size', 'accelerated-mobile-pages'),
[7239] Fix | Delete
'default' => '25px',
[7240] Fix | Delete
'required' => array('swift_cnt_h2' , '=' , '1'),
[7241] Fix | Delete
array('swift_cnt' , '=' , '1')
[7242] Fix | Delete
),
[7243] Fix | Delete
array(
[7244] Fix | Delete
'id' => 'swift_cnt_h3',
[7245] Fix | Delete
'type' => 'switch',
[7246] Fix | Delete
'class' => 'child_opt',
[7247] Fix | Delete
'title' => esc_html__('H3', 'accelerated-mobile-pages'),
[7248] Fix | Delete
'default' => 0,
[7249] Fix | Delete
'required' => array('swift_cnt' , '=' , '1'),
[7250] Fix | Delete
),
[7251] Fix | Delete
array(
[7252] Fix | Delete
'id' => 'swift_h3_sz',
[7253] Fix | Delete
'type' => 'text',
[7254] Fix | Delete
'class' => 'child_opt',
[7255] Fix | Delete
'title' => esc_html__('H3 Font Size', 'accelerated-mobile-pages'),
[7256] Fix | Delete
'default' => '22px',
[7257] Fix | Delete
'required' => array('swift_cnt_h3' , '=' , '1'),
[7258] Fix | Delete
array('swift_cnt' , '=' , '1')
[7259] Fix | Delete
),
[7260] Fix | Delete
array(
[7261] Fix | Delete
'id' => 'swift_cnt_h4',
[7262] Fix | Delete
'type' => 'switch',
[7263] Fix | Delete
'class' => 'child_opt',
[7264] Fix | Delete
'title' => esc_html__('H4', 'accelerated-mobile-pages'),
[7265] Fix | Delete
'default' => 0,
[7266] Fix | Delete
'required' => array('swift_cnt' , '=' , '1'),
[7267] Fix | Delete
),
[7268] Fix | Delete
array(
[7269] Fix | Delete
'id' => 'swift_h4_sz',
[7270] Fix | Delete
'type' => 'text',
[7271] Fix | Delete
'class' => 'child_opt',
[7272] Fix | Delete
'title' => esc_html__('H4 Font Size', 'accelerated-mobile-pages'),
[7273] Fix | Delete
'default' => '19px',
[7274] Fix | Delete
'required' => array('swift_cnt_h4' , '=' , '1'),
[7275] Fix | Delete
array('swift_cnt' , '=' , '1')
[7276] Fix | Delete
),
[7277] Fix | Delete
array(
[7278] Fix | Delete
'id' => 'swift_cnt_h5',
[7279] Fix | Delete
'type' => 'switch',
[7280] Fix | Delete
'class' => 'child_opt',
[7281] Fix | Delete
'title' => esc_html__('H5', 'accelerated-mobile-pages'),
[7282] Fix | Delete
'default' => 0,
[7283] Fix | Delete
'required' => array('swift_cnt' , '=' , '1'),
[7284] Fix | Delete
),
[7285] Fix | Delete
array(
[7286] Fix | Delete
'id' => 'swift_h5_sz',
[7287] Fix | Delete
'type' => 'text',
[7288] Fix | Delete
'class' => 'child_opt',
[7289] Fix | Delete
'title' => esc_html__('H5 Font Size', 'accelerated-mobile-pages'),
[7290] Fix | Delete
'default' => '17px',
[7291] Fix | Delete
'required' => array('swift_cnt_h5' , '=' , '1'),
[7292] Fix | Delete
array('swift_cnt' , '=' , '1')
[7293] Fix | Delete
),
[7294] Fix | Delete
array(
[7295] Fix | Delete
'id' => 'swift_cnt_h6',
[7296] Fix | Delete
'type' => 'switch',
[7297] Fix | Delete
'class' => 'child_opt',
[7298] Fix | Delete
'title' => esc_html__('H6', 'accelerated-mobile-pages'),
[7299] Fix | Delete
'default' => 0,
[7300] Fix | Delete
'required' => array('swift_cnt' , '=' , '1'),
[7301] Fix | Delete
),
[7302] Fix | Delete
array(
[7303] Fix | Delete
'id' => 'swift_h6_sz',
[7304] Fix | Delete
'type' => 'text',
[7305] Fix | Delete
'class' => 'child_opt',
[7306] Fix | Delete
'title' => esc_html__('H6 Font Size', 'accelerated-mobile-pages'),
[7307] Fix | Delete
'default' => '15px',
[7308] Fix | Delete
'required' => array('swift_cnt_h6' , '=' , '1'),
[7309] Fix | Delete
array('swift_cnt' , '=' , '1')
[7310] Fix | Delete
),
[7311] Fix | Delete
array(
[7312] Fix | Delete
'id' => 'single-new-features',
[7313] Fix | Delete
'type' => 'switch',
[7314] Fix | Delete
'title' => esc_html__('Advanced Single Options', 'accelerated-mobile-pages'),
[7315] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7316] Fix | Delete
esc_html__('Enable this option to use advanced options for single posts in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-enable-advanced-single-options-in-single-page/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7317] Fix | Delete
[7318] Fix | Delete
'default' => 0,
[7319] Fix | Delete
),
[7320] Fix | Delete
array(
[7321] Fix | Delete
'id' => 'breadcrumb-border',
[7322] Fix | Delete
'type' => 'switch',
[7323] Fix | Delete
'title' => esc_html__('Breadcrumbs Border', 'accelerated-mobile-pages'),
[7324] Fix | Delete
'default' => 0,
[7325] Fix | Delete
'required' => array( array('single-new-features', '=' , '1'),array('amp-design-selector', '=' , '4') ),
[7326] Fix | Delete
),
[7327] Fix | Delete
array(
[7328] Fix | Delete
'id' => 'ampforwp-underline-content-links',
[7329] Fix | Delete
'type' => 'switch',
[7330] Fix | Delete
'title' => esc_html__('Underline on Links', 'accelerated-mobile-pages'),
[7331] Fix | Delete
'default' => 0,
[7332] Fix | Delete
'required' => array( array('single-new-features', '=' , '1') ),
[7333] Fix | Delete
),
[7334] Fix | Delete
array(
[7335] Fix | Delete
'id' => 'ampforwp-single_section_5',
[7336] Fix | Delete
'type' => 'section',
[7337] Fix | Delete
'title' => esc_html__('WordPress Content Gallery', 'accelerated-mobile-pages'),
[7338] Fix | Delete
'indent' => true,
[7339] Fix | Delete
'layout_type' => 'accordion',
[7340] Fix | Delete
'accordion-open'=> 1,
[7341] Fix | Delete
'required' => array('amp-design-selector', '=' , '4'),
[7342] Fix | Delete
),
[7343] Fix | Delete
array(
[7344] Fix | Delete
'id' => 'ampforwp-gallery-design-type',
[7345] Fix | Delete
'title' => esc_html__('Select Gallery Designs', 'accelerated-mobile-pages'),
[7346] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[7347] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7348] Fix | Delete
esc_html__('Select the design which you want for displaying the gallery in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/add-image-gallery-carousel-in-amp-version/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7349] Fix | Delete
[7350] Fix | Delete
'type' => 'image_select',
[7351] Fix | Delete
'options'=> array(
[7352] Fix | Delete
'1' => array(
[7353] Fix | Delete
'alt'=>' Single Design 1 ',
[7354] Fix | Delete
'img' =>AMPFORWP_PLUGIN_DIR_URI.'/images/g-1.png'
[7355] Fix | Delete
),
[7356] Fix | Delete
'2' => array(
[7357] Fix | Delete
'alt'=>' Single Design With Sidebar ',
[7358] Fix | Delete
'img' =>AMPFORWP_PLUGIN_DIR_URI.'/images/g-2.png'
[7359] Fix | Delete
),
[7360] Fix | Delete
'3' => array(
[7361] Fix | Delete
'alt'=>' Single Design With Sidebar ',
[7362] Fix | Delete
'img' =>AMPFORWP_PLUGIN_DIR_URI.'/images/g-3.png'
[7363] Fix | Delete
),
[7364] Fix | Delete
[7365] Fix | Delete
),
[7366] Fix | Delete
'default'=> '1',
[7367] Fix | Delete
'required' => array( array('amp-design-selector', '=' , '4'),
[7368] Fix | Delete
[7369] Fix | Delete
),
[7370] Fix | Delete
),
[7371] Fix | Delete
array(
[7372] Fix | Delete
'id' => 'ampforwp-gallery-lightbox',
[7373] Fix | Delete
'type' => 'switch',
[7374] Fix | Delete
'title' => esc_html__('Lightbox for Gallery', 'accelerated-mobile-pages'),
[7375] Fix | Delete
'class' => 'child_opt child_opt_arrow',
[7376] Fix | Delete
'default' => 1,
[7377] Fix | Delete
'tooltip-subtitle' => esc_html__('Enable this option to show lightbox for gallery in AMP','accelerated-mobile-pages'),
[7378] Fix | Delete
'required' => array('ampforwp-gallery-design-type' , '!=' , '3'),
[7379] Fix | Delete
),
[7380] Fix | Delete
array(
[7381] Fix | Delete
'id' => 'single-sneakp-section',
[7382] Fix | Delete
'type' => 'section',
[7383] Fix | Delete
'title' => esc_html__('Content Sneak Peek', 'accelerated-mobile-pages'),
[7384] Fix | Delete
'indent' => true,
[7385] Fix | Delete
'layout_type' => 'accordion',
[7386] Fix | Delete
'accordion-open'=> 1,
[7387] Fix | Delete
),
[7388] Fix | Delete
array(
[7389] Fix | Delete
'id' => 'content-sneak-peek',
[7390] Fix | Delete
'type' => 'switch',
[7391] Fix | Delete
'title' => esc_html__('Content Sneak Peek', 'accelerated-mobile-pages'),
[7392] Fix | Delete
'default' => 0,
[7393] Fix | Delete
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
[7394] Fix | Delete
esc_html__('Enable this option to hide all your content and show just a preview of your content in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-content-sneak-peek-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
[7395] Fix | Delete
),
[7396] Fix | Delete
array(
[7397] Fix | Delete
'id' => 'content-sneak-peek-height',
[7398] Fix | Delete
'type' => 'text',
[7399] Fix | Delete
'class' => 'child_opt',
[7400] Fix | Delete
'title' => esc_html__('Content Height', 'accelerated-mobile-pages'),
[7401] Fix | Delete
'default' => '600px',
[7402] Fix | Delete
'required' => array('content-sneak-peek' , '=' , '1'),
[7403] Fix | Delete
),
[7404] Fix | Delete
array(
[7405] Fix | Delete
'id' => 'content-sneak-peek-btn-text',
[7406] Fix | Delete
'type' => 'text',
[7407] Fix | Delete
'class' => 'child_opt',
[7408] Fix | Delete
'title' => esc_html__('Button Text', 'accelerated-mobile-pages'),
[7409] Fix | Delete
'default' => 'Show Full Article',
[7410] Fix | Delete
'required' => array('content-sneak-peek' , '=' , '1'),
[7411] Fix | Delete
),
[7412] Fix | Delete
array(
[7413] Fix | Delete
'id' => 'content-sneak-peek-txt-color',
[7414] Fix | Delete
'title' => esc_html__('Text Color', 'accelerated-mobile-pages'),
[7415] Fix | Delete
'tooltip-subtitle' => esc_html__('Choose the color for button\'s text','accelerated-mobile-pages'),
[7416] Fix | Delete
'type' => 'color_rgba',
[7417] Fix | Delete
'class' => 'child_opt',
[7418] Fix | Delete
'default' => array(
[7419] Fix | Delete
'color' => '#fff',
[7420] Fix | Delete
),
[7421] Fix | Delete
'required' => array(
[7422] Fix | Delete
array('content-sneak-peek', '=' , '1')
[7423] Fix | Delete
)
[7424] Fix | Delete
),
[7425] Fix | Delete
array(
[7426] Fix | Delete
'id' => 'content-sneak-peek-btn-color',
[7427] Fix | Delete
'title' => esc_html__('Button Color', 'accelerated-mobile-pages'),
[7428] Fix | Delete
'tooltip-subtitle' => esc_html__('Choose the color for button','accelerated-mobile-pages'),
[7429] Fix | Delete
'type' => 'color_rgba',
[7430] Fix | Delete
'class' => 'child_opt',
[7431] Fix | Delete
'default' => array(
[7432] Fix | Delete
'color' => '#000',
[7433] Fix | Delete
),
[7434] Fix | Delete
'required' => array(
[7435] Fix | Delete
array('content-sneak-peek', '=' , '1')
[7436] Fix | Delete
)
[7437] Fix | Delete
),
[7438] Fix | Delete
$fields = array(
[7439] Fix | Delete
'id' => 'info_normal',
[7440] Fix | Delete
'type' => 'info',
[7441] Fix | Delete
'class' => 'extension_banner_bg',
[7442] Fix | Delete
'desc' => $single_extension_listing
[7443] Fix | Delete
)
[7444] Fix | Delete
);
[7445] Fix | Delete
}
[7446] Fix | Delete
else{
[7447] Fix | Delete
$single_page_options = array(
[7448] Fix | Delete
array(
[7449] Fix | Delete
'id' => 'amp_newspaper_settings_info',
[7450] Fix | Delete
'type' => 'Info',
[7451] Fix | Delete
'desc' => '<div style="background: #FFF9C4;padding: 12px;line-height: 2.4;margin:-25px -14px -18px -17px;font-size:16px"><b>It seems that you have activated the amp newspaper theme plugin.</b><br><div class="extension-menu-call"> <a href="{ampforwp-theme-subsection-shortcode}" class="redux-group-tab-link-a current" >Go to newspaper theme settings.</a></div></div>',
[7452] Fix | Delete
),
[7453] Fix | Delete
);
[7454] Fix | Delete
}
[7455] Fix | Delete
// Single Section
[7456] Fix | Delete
Redux::setSection( $opt_name, array(
[7457] Fix | Delete
'title' => esc_html__( 'Single', 'accelerated-mobile-pages' ),
[7458] Fix | Delete
'id' => 'amp-single',
[7459] Fix | Delete
'subsection' => true,
[7460] Fix | Delete
'fields' => $single_page_options
[7461] Fix | Delete
) );
[7462] Fix | Delete
[7463] Fix | Delete
[7464] Fix | Delete
// Footer Section
[7465] Fix | Delete
Redux::setSection( $opt_name, array(
[7466] Fix | Delete
'title' => esc_html__( 'Footer', 'accelerated-mobile-pages' ),
[7467] Fix | Delete
'id' => 'amp-theme-footer-settings',
[7468] Fix | Delete
'subsection' => true,
[7469] Fix | Delete
'fields' => array(
[7470] Fix | Delete
array(
[7471] Fix | Delete
'id' => 'footer-tab-1',
[7472] Fix | Delete
'type' => 'section',
[7473] Fix | Delete
'title' => esc_html__('Footer Design', 'accelerated-mobile-pages'),
[7474] Fix | Delete
'indent' => true,
[7475] Fix | Delete
'layout_type' => 'accordion',
[7476] Fix | Delete
'accordion-open'=> 1,
[7477] Fix | Delete
'required' => array( array('amp-design-selector', '=' , '4') ),
[7478] Fix | Delete
),
[7479] Fix | Delete
// Swift
[7480] Fix | Delete
array(
[7481] Fix | Delete
'id' => 'footer-type',
[7482] Fix | Delete
'title' => esc_html__('Footer Type', 'accelerated-mobile-pages'),
[7483] Fix | Delete
'type' => 'image_select',
[7484] Fix | Delete
'options'=> array(
[7485] Fix | Delete
'1' => array(
[7486] Fix | Delete
'alt'=>' Footer Design 1 ',
[7487] Fix | Delete
'img' =>AMPFORWP_PLUGIN_DIR_URI.'/images/footer-1.png'
[7488] Fix | Delete
),
[7489] Fix | Delete
),
[7490] Fix | Delete
'default'=> '1',
[7491] Fix | Delete
'required' => array( array('amp-design-selector', '=' , '4') ),
[7492] Fix | Delete
),
[7493] Fix | Delete
array(
[7494] Fix | Delete
'id' => 'footer-tab-3',
[7495] Fix | Delete
'type' => 'section',
[7496] Fix | Delete
'title' => esc_html__('General', 'accelerated-mobile-pages'),
[7497] Fix | Delete
'indent' => true,
[7498] Fix | Delete
'layout_type' => 'accordion',
[7499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function