Skip to content

Commit 4b0883d

Browse files
committed
Option's position rearranged
1 parent 5964784 commit 4b0883d

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

includes/options.php

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,20 @@ function advanced_amp_ampforwp_ads_options() {
169169

170170

171171
// Adsense Options
172-
$ampforwp_ads_option->add_field( array(
173-
'name' => esc_html__( 'Link Ads', 'ampforwp_adsforwp' ),
174-
'desc' => 'Check this if the ad is link ads, Tutorial: <a href="http://ampforwp.com/tutorials/">What are Link Ads and where does it appear?</a>',
175-
'id' => 'adsense_link',
176-
'type' => 'checkbox',
177-
'classes' => 'vendor-fields adsense-data-1'
178-
) );
179172
$ampforwp_ads_option->add_field( array(
180173
'name' => 'Responsive Ad',
181174
'desc' => 'This will make your Ad responsive',
182175
'id' => 'adsense_responsive',
183176
'type' => 'checkbox',
184177
'classes' => 'vendor-fields adsense-data-1'
185178
) );
179+
$ampforwp_ads_option->add_field( array(
180+
'name' => esc_html__( 'Link Ads', 'ampforwp_adsforwp' ),
181+
'desc' => 'Check this if the ad is link ads, Tutorial: <a href="http://ampforwp.com/tutorials/">What are Link Ads and where does it appear?</a>',
182+
'id' => 'adsense_link',
183+
'type' => 'checkbox',
184+
'classes' => 'vendor-fields adsense-data-1'
185+
) );
186186
$ampforwp_ads_option->add_field( array(
187187
'name' => esc_html__( 'Link Ads Dimensions', 'ampforwp_adsforwp' ),
188188
'desc' => 'Select the preferred dimensions for your ad',
@@ -453,20 +453,23 @@ function amp_by_automattic_options(){
453453

454454

455455
// Adsense Options
456-
$amp_ads_option->add_field( array(
457-
'name' => esc_html__( 'Link Ads', 'ampforwp_adsforwp' ),
458-
'desc' => 'Check this if the ad is link ads, Tutorial: <a href="http://ampforwp.com/tutorials/">What are Link Ads and where does it appear?</a>',
459-
'id' => '_amp_adsense_link',
460-
'type' => 'checkbox',
461-
'classes' => 'amp-vendor-fields amp-adsense-data-1'
462-
) );
456+
463457
$amp_ads_option->add_field( array(
464458
'name' => 'Responsive Ad',
465459
'desc' => 'This will make your Ad responsive',
466460
'id' => '_amp_adsense_responsive',
467461
'type' => 'checkbox',
468462
'classes' => 'amp-vendor-fields amp-adsense-data-1'
469463
) );
464+
465+
$amp_ads_option->add_field( array(
466+
'name' => esc_html__( 'Link Ads', 'ampforwp_adsforwp' ),
467+
'desc' => 'Check this if the ad is link ads, Tutorial: <a href="http://ampforwp.com/tutorials/">What are Link Ads and where does it appear?</a>',
468+
'id' => '_amp_adsense_link',
469+
'type' => 'checkbox',
470+
'classes' => 'amp-vendor-fields amp-adsense-data-1'
471+
) );
472+
470473
$amp_ads_option->add_field( array(
471474
'name' => esc_html__( 'Link Ads Dimensions', 'ampforwp_adsforwp' ),
472475
'desc' => 'Select the preferred dimensions for your ad',

0 commit comments

Comments
 (0)