Version Description
(16th September 2021) = * Improvements: Added Top Mail Ru analytics support in amp #5130 * Improvements: Added an option to move sponsorship label above the ad * Improvements: Updated the facebook instant articles to 50 when limit is not set #5131
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.77.23 |
Comparing to | |
See all releases |
Code changes from version 1.0.77.22 to 1.0.77.23
- README.md +6 -14
- accelerated-moblie-pages.php +2 -2
- changelog.txt +5 -0
- feeds/instant-article-feed.php +1 -1
- includes/features/advertisement/ads-functions.php +36 -6
- includes/features/advertisement/ads-options.php +13 -0
- includes/features/analytics/analytics-functions.php +14 -0
- includes/features/analytics/analytics-options.php +17 -0
- includes/options/admin-config.php +1 -1
- readme.txt +6 -14
README.md
CHANGED
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
|
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 1.0.77.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -197,6 +197,11 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
197 |
|
198 |
== Changelog ==
|
199 |
|
|
|
|
|
|
|
|
|
|
|
200 |
= 1.0.77.22 (6th September 2021) =
|
201 |
* Fixed: Validation error with rankmath's "open external links in new tab" option #5129
|
202 |
|
@@ -207,17 +212,4 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
207 |
* Fixed: No data hero attribute on featured image of default image #5121
|
208 |
* Fixed: Debug log errors #5124
|
209 |
|
210 |
-
= 1.0.77.20 (24th August 2021) =
|
211 |
-
* Fixed: Validation errors when Jetpack boost plugin is active #5120
|
212 |
-
* Fixed: Display Warning Icon more clearly if setup is not completed #5119
|
213 |
-
* Fixed: Image loading issues while using Webp express #5118
|
214 |
-
|
215 |
-
= 1.0.77.19 (13th August 2021) =
|
216 |
-
* Fixed: Disable AMP on desktop not working with ?amp #5113
|
217 |
-
* Fixed: Can't use function return value error when activating plugin #5115
|
218 |
-
* Fixed: Button icon showing white When installing schema internally #5111
|
219 |
-
|
220 |
-
= 1.0.77.18 (5th August 2021) =
|
221 |
-
* Improvements: Added License Key information in AMP panel #5110
|
222 |
-
|
223 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 1.0.77.23
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 1.0.77.23 (16th September 2021) =
|
201 |
+
* Improvements: Added Top Mail Ru analytics support in amp #5130
|
202 |
+
* Improvements: Added an option to move sponsorship label above the ad
|
203 |
+
* Improvements: Updated the facebook instant articles to 50 when limit is not set #5131
|
204 |
+
|
205 |
= 1.0.77.22 (6th September 2021) =
|
206 |
* Fixed: Validation error with rankmath's "open external links in new tab" option #5129
|
207 |
|
212 |
* Fixed: No data hero attribute on featured image of default image #5121
|
213 |
* Fixed: Debug log errors #5124
|
214 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|
accelerated-moblie-pages.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Accelerated Mobile Pages
|
4 |
Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
|
5 |
Description: AMP for WP - Accelerated Mobile Pages for WordPress
|
6 |
-
Version: 1.0.77.
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
@@ -20,7 +20,7 @@ define('AMPFORWP_PLUGIN_DIR_URI', plugin_dir_url(__FILE__));
|
|
20 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
|
21 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
22 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
23 |
-
define('AMPFORWP_VERSION','1.0.77.
|
24 |
define('AMPFORWP_EXTENSION_DIR',plugin_dir_path(__FILE__).'includes/options/extensions');
|
25 |
if(!defined('AMPFROWP_HOST_NAME')){
|
26 |
$urlinfo = get_bloginfo('url');
|
3 |
Plugin Name: Accelerated Mobile Pages
|
4 |
Plugin URI: https://wordpress.org/plugins/accelerated-mobile-pages/
|
5 |
Description: AMP for WP - Accelerated Mobile Pages for WordPress
|
6 |
+
Version: 1.0.77.23
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/25
|
20 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.html');
|
21 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
22 |
define('AMPFORWP_MAIN_PLUGIN_DIR', plugin_dir_path( __DIR__ ) );
|
23 |
+
define('AMPFORWP_VERSION','1.0.77.23');
|
24 |
define('AMPFORWP_EXTENSION_DIR',plugin_dir_path(__FILE__).'includes/options/extensions');
|
25 |
if(!defined('AMPFROWP_HOST_NAME')){
|
26 |
$urlinfo = get_bloginfo('url');
|
changelog.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
= 1.0.77.22 (6th September 2021) =
|
4 |
* Fixed: Validation error with rankmath's "open external links in new tab" option #5129
|
5 |
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.77.23 (16th September 2021) =
|
4 |
+
* Improvements: Added Top Mail Ru analytics support in amp #5130
|
5 |
+
* Improvements: Added an option to move sponsorship label above the ad
|
6 |
+
* Improvements: Updated the facebook instant articles to 50 when limit is not set #5131
|
7 |
+
|
8 |
= 1.0.77.22 (6th September 2021) =
|
9 |
* Fixed: Validation error with rankmath's "open external links in new tab" option #5129
|
10 |
|
feeds/instant-article-feed.php
CHANGED
@@ -24,7 +24,7 @@ header('Content-Type: ' . esc_attr(feed_content_type('rss2')) . '; charset=' . e
|
|
24 |
$number_of_articles = intval( $number_of_articles );
|
25 |
}
|
26 |
else{
|
27 |
-
$number_of_articles =
|
28 |
}
|
29 |
|
30 |
$ia_args = array(
|
24 |
$number_of_articles = intval( $number_of_articles );
|
25 |
}
|
26 |
else{
|
27 |
+
$number_of_articles = 50;
|
28 |
}
|
29 |
|
30 |
$ia_args = array(
|
includes/features/advertisement/ads-functions.php
CHANGED
@@ -64,6 +64,9 @@ function ampforwp_header_advert() {
|
|
64 |
$advert_height = '320';
|
65 |
}
|
66 |
$output = '<div class="amp-ad-wrapper amp_ad_1">';
|
|
|
|
|
|
|
67 |
$output .= '<amp-ad class="amp-ad-1"
|
68 |
type="adsense"
|
69 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
@@ -79,7 +82,9 @@ function ampforwp_header_advert() {
|
|
79 |
}
|
80 |
else
|
81 |
$output .= '></amp-ad>';
|
82 |
-
|
|
|
|
|
83 |
$output .= ' </div>';
|
84 |
}
|
85 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
@@ -140,6 +145,9 @@ function ampforwp_footer_advert() {
|
|
140 |
$advert_height = '320';
|
141 |
}
|
142 |
$output = '<div class="amp-ad-wrapper amp_ad_2">';
|
|
|
|
|
|
|
143 |
$output .= '<amp-ad class="amp-ad-2"
|
144 |
type="adsense" '. esc_attr($optimize) .'
|
145 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
@@ -155,7 +163,9 @@ function ampforwp_footer_advert() {
|
|
155 |
}
|
156 |
else
|
157 |
$output .= '></amp-ad>';
|
158 |
-
|
|
|
|
|
159 |
$output .= ' </div>';
|
160 |
}
|
161 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
@@ -235,6 +245,9 @@ function ampforwp_before_post_content_advert() {
|
|
235 |
$advert_height = '320';
|
236 |
}
|
237 |
$output = '<div class="amp-ad-wrapper amp_ad_3">';
|
|
|
|
|
|
|
238 |
$output .= '<amp-ad class="amp-ad-3"
|
239 |
type="adsense"
|
240 |
width='. esc_attr($advert_width).' height='. esc_attr($advert_height) . '
|
@@ -250,7 +263,9 @@ function ampforwp_before_post_content_advert() {
|
|
250 |
}
|
251 |
else
|
252 |
$output .= '></amp-ad>';
|
253 |
-
|
|
|
|
|
254 |
$output .= ' </div>';
|
255 |
}
|
256 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
@@ -318,6 +333,9 @@ function ampforwp_after_post_content_advert() {
|
|
318 |
$advert_height = '320';
|
319 |
}
|
320 |
$output = '<div class="amp-ad-wrapper amp_ad_4">';
|
|
|
|
|
|
|
321 |
$output .= '<amp-ad class="amp-ad-4"
|
322 |
type="adsense" '. esc_attr($optimize) .'
|
323 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
@@ -333,7 +351,9 @@ function ampforwp_after_post_content_advert() {
|
|
333 |
}
|
334 |
else
|
335 |
$output .= '></amp-ad>';
|
336 |
-
|
|
|
|
|
337 |
$output .= ' </div>';
|
338 |
}
|
339 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
@@ -389,6 +409,9 @@ function ampforwp_below_the_title_advert() {
|
|
389 |
$advert_height = '320';
|
390 |
}
|
391 |
$output = '<div class="amp-ad-wrapper amp_ad_5">';
|
|
|
|
|
|
|
392 |
$output .= '<amp-ad class="amp-ad-5"
|
393 |
type="adsense"
|
394 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
@@ -404,7 +427,9 @@ function ampforwp_below_the_title_advert() {
|
|
404 |
}
|
405 |
else
|
406 |
$output .= '></amp-ad>';
|
407 |
-
|
|
|
|
|
408 |
$output .= ' </div>';
|
409 |
}
|
410 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
@@ -463,6 +488,9 @@ function ampforwp_above_related_post_advert() {
|
|
463 |
$advert_height = '320';
|
464 |
}
|
465 |
$output = '<div class="amp-ad-wrapper amp_ad_6">';
|
|
|
|
|
|
|
466 |
$output .= '<amp-ad class="amp-ad-6"
|
467 |
type="adsense" '. esc_attr($optimize) .'
|
468 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
@@ -478,7 +506,9 @@ function ampforwp_above_related_post_advert() {
|
|
478 |
}
|
479 |
else
|
480 |
$output .= '></amp-ad>';
|
481 |
-
|
|
|
|
|
482 |
$output .= ' </div>';
|
483 |
}
|
484 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
64 |
$advert_height = '320';
|
65 |
}
|
66 |
$output = '<div class="amp-ad-wrapper amp_ad_1">';
|
67 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '1') {
|
68 |
+
$output .= ampforwp_ads_sponsorship();
|
69 |
+
}
|
70 |
$output .= '<amp-ad class="amp-ad-1"
|
71 |
type="adsense"
|
72 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
82 |
}
|
83 |
else
|
84 |
$output .= '></amp-ad>';
|
85 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '2') {
|
86 |
+
$output .= ampforwp_ads_sponsorship();
|
87 |
+
}
|
88 |
$output .= ' </div>';
|
89 |
}
|
90 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
145 |
$advert_height = '320';
|
146 |
}
|
147 |
$output = '<div class="amp-ad-wrapper amp_ad_2">';
|
148 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '1') {
|
149 |
+
$output .= ampforwp_ads_sponsorship();
|
150 |
+
}
|
151 |
$output .= '<amp-ad class="amp-ad-2"
|
152 |
type="adsense" '. esc_attr($optimize) .'
|
153 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
163 |
}
|
164 |
else
|
165 |
$output .= '></amp-ad>';
|
166 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '2') {
|
167 |
+
$output .= ampforwp_ads_sponsorship();
|
168 |
+
}
|
169 |
$output .= ' </div>';
|
170 |
}
|
171 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
245 |
$advert_height = '320';
|
246 |
}
|
247 |
$output = '<div class="amp-ad-wrapper amp_ad_3">';
|
248 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '1') {
|
249 |
+
$output .= ampforwp_ads_sponsorship();
|
250 |
+
}
|
251 |
$output .= '<amp-ad class="amp-ad-3"
|
252 |
type="adsense"
|
253 |
width='. esc_attr($advert_width).' height='. esc_attr($advert_height) . '
|
263 |
}
|
264 |
else
|
265 |
$output .= '></amp-ad>';
|
266 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '2') {
|
267 |
+
$output .= ampforwp_ads_sponsorship();
|
268 |
+
}
|
269 |
$output .= ' </div>';
|
270 |
}
|
271 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
333 |
$advert_height = '320';
|
334 |
}
|
335 |
$output = '<div class="amp-ad-wrapper amp_ad_4">';
|
336 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '1') {
|
337 |
+
$output .= ampforwp_ads_sponsorship();
|
338 |
+
}
|
339 |
$output .= '<amp-ad class="amp-ad-4"
|
340 |
type="adsense" '. esc_attr($optimize) .'
|
341 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
351 |
}
|
352 |
else
|
353 |
$output .= '></amp-ad>';
|
354 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '2') {
|
355 |
+
$output .= ampforwp_ads_sponsorship();
|
356 |
+
}
|
357 |
$output .= ' </div>';
|
358 |
}
|
359 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
409 |
$advert_height = '320';
|
410 |
}
|
411 |
$output = '<div class="amp-ad-wrapper amp_ad_5">';
|
412 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '1') {
|
413 |
+
$output .= ampforwp_ads_sponsorship();
|
414 |
+
}
|
415 |
$output .= '<amp-ad class="amp-ad-5"
|
416 |
type="adsense"
|
417 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
427 |
}
|
428 |
else
|
429 |
$output .= '></amp-ad>';
|
430 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '2') {
|
431 |
+
$output .= ampforwp_ads_sponsorship();
|
432 |
+
}
|
433 |
$output .= ' </div>';
|
434 |
}
|
435 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
488 |
$advert_height = '320';
|
489 |
}
|
490 |
$output = '<div class="amp-ad-wrapper amp_ad_6">';
|
491 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '1') {
|
492 |
+
$output .= ampforwp_ads_sponsorship();
|
493 |
+
}
|
494 |
$output .= '<amp-ad class="amp-ad-6"
|
495 |
type="adsense" '. esc_attr($optimize) .'
|
496 |
width='. esc_attr($advert_width) .' height='. esc_attr($advert_height) . '
|
506 |
}
|
507 |
else
|
508 |
$output .= '></amp-ad>';
|
509 |
+
if (ampforwp_get_setting('ampforwp-ads-sponsorship-position') == '2') {
|
510 |
+
$output .= ampforwp_ads_sponsorship();
|
511 |
+
}
|
512 |
$output .= ' </div>';
|
513 |
}
|
514 |
$output = apply_filters('ampforwp_modify_ads',$output,$advert_width,$advert_height, $client_id, $data_slot);
|
includes/features/advertisement/ads-options.php
CHANGED
@@ -1179,6 +1179,19 @@ if (!function_exists('adsforwp_admin_notice')) {
|
|
1179 |
'default' => '',
|
1180 |
'placeholder'=> 'Sponsored'
|
1181 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1182 |
}
|
1183 |
|
1184 |
return $fields;
|
1179 |
'default' => '',
|
1180 |
'placeholder'=> 'Sponsored'
|
1181 |
);
|
1182 |
+
$fields[] = array(
|
1183 |
+
'id' => 'ampforwp-ads-sponsorship-position',
|
1184 |
+
'class' => 'child_opt child_opt_arrow',
|
1185 |
+
'type' => 'select',
|
1186 |
+
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
|
1187 |
+
'tooltip-subtitle' => esc_html__( 'Select Sponsorship Position you want to show.', 'accelerated-mobile-pages' ),
|
1188 |
+
'options' => array(
|
1189 |
+
'1' => 'Above the Ads',
|
1190 |
+
'2' => 'Below the Ads',
|
1191 |
+
),
|
1192 |
+
'default' => '2',
|
1193 |
+
'required' => array('ampforwp-ads-sponsorship','=','1'),
|
1194 |
+
);
|
1195 |
}
|
1196 |
|
1197 |
return $fields;
|
includes/features/analytics/analytics-functions.php
CHANGED
@@ -317,6 +317,20 @@ function ampforwp_analytics() {
|
|
317 |
$analytics_url = "https://script.dotmetrics.net/AmpConfig.json?id=".esc_html($dot_id); ?>
|
318 |
<amp-analytics config="<?php echo esc_url_raw($analytics_url); ?>"></amp-analytics>
|
319 |
<?php } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
if( true == ampforwp_get_setting('ampforwp-iotech-switch')) {
|
321 |
$project_id = $id = $title = $author = $categories = $cat_names = '';
|
322 |
$project_id = ampforwp_get_setting('ampforwp-iotech-projectid');
|
317 |
$analytics_url = "https://script.dotmetrics.net/AmpConfig.json?id=".esc_html($dot_id); ?>
|
318 |
<amp-analytics config="<?php echo esc_url_raw($analytics_url); ?>"></amp-analytics>
|
319 |
<?php } }
|
320 |
+
if( true == ampforwp_get_setting('ampforwp-topmailru-switch')) {
|
321 |
+
$topmailru_id = '';
|
322 |
+
$topmailru_id = ampforwp_get_setting('ampforwp-topmailru-id');
|
323 |
+
if(!empty($topmailru_id)){ ?>
|
324 |
+
<amp-analytics type="topmailru" id="topmailru">
|
325 |
+
<script type="application/json">
|
326 |
+
{
|
327 |
+
"vars": {
|
328 |
+
"id": "<?php echo esc_attr($topmailru_id);?>"
|
329 |
+
}
|
330 |
+
}
|
331 |
+
</script>
|
332 |
+
</amp-analytics>
|
333 |
+
<?php } }
|
334 |
if( true == ampforwp_get_setting('ampforwp-iotech-switch')) {
|
335 |
$project_id = $id = $title = $author = $categories = $cat_names = '';
|
336 |
$project_id = ampforwp_get_setting('ampforwp-iotech-projectid');
|
includes/features/analytics/analytics-options.php
CHANGED
@@ -622,6 +622,23 @@ function ampforwp_analytics_options($opt_name){
|
|
622 |
'tooltip-subtitle' => esc_html__( 'Enter Your User ID Here','accelerated-mobile-pages'),
|
623 |
'required' => array('ampforwp-dotmetrics-switch', '=' , '1')
|
624 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
625 |
)
|
626 |
)
|
627 |
);
|
622 |
'tooltip-subtitle' => esc_html__( 'Enter Your User ID Here','accelerated-mobile-pages'),
|
623 |
'required' => array('ampforwp-dotmetrics-switch', '=' , '1')
|
624 |
),
|
625 |
+
|
626 |
+
//Top.Mail.Ru Analytics
|
627 |
+
array(
|
628 |
+
'id' =>'ampforwp-topmailru-switch',
|
629 |
+
'type' => 'switch',
|
630 |
+
'title' => esc_html__('Top Mail Ru Analytics','accelerated-mobile-pages'),
|
631 |
+
'default' => 0,
|
632 |
+
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
|
633 |
+
esc_html__('Enable this option to track topmailru analytics in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-topmailru-analytics-in-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
|
634 |
+
),
|
635 |
+
array(
|
636 |
+
'id' => 'ampforwp-topmailru-id',
|
637 |
+
'type' => 'text',
|
638 |
+
'title' => esc_html__( 'Counter ID', 'accelerated-mobile-pages' ),
|
639 |
+
'tooltip-subtitle' => esc_html__( 'Enter Your Counter ID Here','accelerated-mobile-pages'),
|
640 |
+
'required' => array('ampforwp-topmailru-switch', '=' , '1')
|
641 |
+
),
|
642 |
)
|
643 |
)
|
644 |
);
|
includes/options/admin-config.php
CHANGED
@@ -2727,7 +2727,7 @@ Redux::setSection( $opt_name, array(
|
|
2727 |
'type' => 'text',
|
2728 |
'title' => esc_html__('Number of Posts', 'accelerated-mobile-pages'),
|
2729 |
'tooltip-subtitle' => esc_html__('Enter the number of posts to generate for Instant Articles.', 'accelerated-mobile-pages'),
|
2730 |
-
'desc' => esc_html__('Leave this empty to generate All Posts (
|
2731 |
'required' => array('fb-instant-article-switch', '=', 1),
|
2732 |
'default' => '50'
|
2733 |
),
|
2727 |
'type' => 'text',
|
2728 |
'title' => esc_html__('Number of Posts', 'accelerated-mobile-pages'),
|
2729 |
'tooltip-subtitle' => esc_html__('Enter the number of posts to generate for Instant Articles.', 'accelerated-mobile-pages'),
|
2730 |
+
'desc' => esc_html__('Leave this empty to generate All Posts (50).', 'accelerated-mobile-pages'),
|
2731 |
'required' => array('fb-instant-article-switch', '=', 1),
|
2732 |
'default' => '50'
|
2733 |
),
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: AMP, accelerated mobile pages, mobile, amp project, google amp, amp wp, go
|
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 1.0.77.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -194,6 +194,11 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
194 |
|
195 |
== Changelog ==
|
196 |
|
|
|
|
|
|
|
|
|
|
|
197 |
= 1.0.77.22 (6th September 2021) =
|
198 |
* Fixed: Validation error with rankmath's "open external links in new tab" option #5129
|
199 |
|
@@ -204,17 +209,4 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
204 |
* Fixed: No data hero attribute on featured image of default image #5121
|
205 |
* Fixed: Debug log errors #5124
|
206 |
|
207 |
-
= 1.0.77.20 (24th August 2021) =
|
208 |
-
* Fixed: Validation errors when Jetpack boost plugin is active #5120
|
209 |
-
* Fixed: Display Warning Icon more clearly if setup is not completed #5119
|
210 |
-
* Fixed: Image loading issues while using Webp express #5118
|
211 |
-
|
212 |
-
= 1.0.77.19 (13th August 2021) =
|
213 |
-
* Fixed: Disable AMP on desktop not working with ?amp #5113
|
214 |
-
* Fixed: Can't use function return value error when activating plugin #5115
|
215 |
-
* Fixed: Button icon showing white When installing schema internally #5111
|
216 |
-
|
217 |
-
= 1.0.77.18 (5th August 2021) =
|
218 |
-
* Improvements: Added License Key information in AMP panel #5110
|
219 |
-
|
220 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 1.0.77.23
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
194 |
|
195 |
== Changelog ==
|
196 |
|
197 |
+
= 1.0.77.23 (16th September 2021) =
|
198 |
+
* Improvements: Added Top Mail Ru analytics support in amp #5130
|
199 |
+
* Improvements: Added an option to move sponsorship label above the ad
|
200 |
+
* Improvements: Updated the facebook instant articles to 50 when limit is not set #5131
|
201 |
+
|
202 |
= 1.0.77.22 (6th September 2021) =
|
203 |
* Fixed: Validation error with rankmath's "open external links in new tab" option #5129
|
204 |
|
209 |
* Fixed: No data hero attribute on featured image of default image #5121
|
210 |
* Fixed: Debug log errors #5124
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|