Version Description
(30th December 2019) = * Fixed: Menu arrow icon not showing properly in mobile version #3995 * Fixed: Google Tag manager not firing properly #3826
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- README.md +5 -1
- accelerated-moblie-pages.php +2 -2
- changelog.txt +4 -0
- includes/features/analytics/analytics-functions.php +8 -12
- readme.txt +5 -31
- templates/design-manager/swift/style.php +1 -0
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.3.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -191,6 +191,10 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
191 |
|
192 |
== Changelog ==
|
193 |
|
|
|
|
|
|
|
|
|
194 |
= 1.0.4 (26th December 2019) =
|
195 |
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
196 |
|
4 |
Donate link: https://www.paypal.me/Kaludi/25
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.3.2
|
7 |
+
Stable tag: 1.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
191 |
|
192 |
== Changelog ==
|
193 |
|
194 |
+
= 1.0.5 (30th December 2019) =
|
195 |
+
* Fixed: Menu arrow icon not showing properly in mobile version #3995
|
196 |
+
* Fixed: Google Tag manager not firing properly #3826
|
197 |
+
|
198 |
= 1.0.4 (26th December 2019) =
|
199 |
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
200 |
|
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.
|
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.
|
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.5
|
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.5');
|
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,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 1.0.4 (26th December 2019) =
|
4 |
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
5 |
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.5 (30th December 2019) =
|
4 |
+
* Fixed: Menu arrow icon not showing properly in mobile version #3995
|
5 |
+
* Fixed: Google Tag manager not firing properly #3826
|
6 |
+
|
7 |
= 1.0.4 (26th December 2019) =
|
8 |
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
9 |
|
includes/features/analytics/analytics-functions.php
CHANGED
@@ -377,23 +377,19 @@ function amp_gtm_add_gtm_support( $analytics ) {
|
|
377 |
}
|
378 |
$gtm_id = ampforwp_get_setting('amp-gtm-id');
|
379 |
$gtm_id = str_replace(" ", "", $gtm_id);
|
380 |
-
|
381 |
$analytics['amp-gtm-googleanalytics'] = array(
|
382 |
-
'type' => ampforwp_get_setting('amp-gtm-analytics-type'),
|
383 |
'attributes' => array(
|
384 |
-
'
|
385 |
-
'
|
386 |
),
|
387 |
'config_data' => array(
|
388 |
-
|
389 |
-
'
|
390 |
-
|
391 |
-
|
392 |
-
'trackPageview' => array(
|
393 |
-
'on' => 'visible',
|
394 |
-
'request' => 'pageview',
|
395 |
),
|
396 |
-
|
397 |
),
|
398 |
);
|
399 |
if(ampforwp_get_data_consent()){
|
377 |
}
|
378 |
$gtm_id = ampforwp_get_setting('amp-gtm-id');
|
379 |
$gtm_id = str_replace(" ", "", $gtm_id);
|
380 |
+
$gtm_code = esc_attr(ampforwp_get_setting('amp-gtm-analytics-code'));
|
381 |
$analytics['amp-gtm-googleanalytics'] = array(
|
|
|
382 |
'attributes' => array(
|
383 |
+
'id'=>'googletagmanager-'.esc_attr($gtm_id),
|
384 |
+
'type'=>'gtag',
|
385 |
),
|
386 |
'config_data' => array(
|
387 |
+
"vars" => array(
|
388 |
+
"gtag_id"=> "'".esc_attr($gtm_id)."'",
|
389 |
+
"config" => array(
|
390 |
+
"$gtm_code"=> array("groups"=> "default" ),
|
|
|
|
|
|
|
391 |
),
|
392 |
+
),
|
393 |
),
|
394 |
);
|
395 |
if(ampforwp_get_data_consent()){
|
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.3.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -191,38 +191,12 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
191 |
|
192 |
== Changelog ==
|
193 |
|
|
|
|
|
|
|
|
|
194 |
= 1.0.4 (26th December 2019) =
|
195 |
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
196 |
|
197 |
-
= 1.0.3 (23th December 2019) =
|
198 |
-
* Improvement: Filter in search form #3948
|
199 |
-
* Improvement: Improvement of jetpack social icons #3907
|
200 |
-
* Improvement: Need to add a Filter in amp tree shaking for adding custom CSS. #3971
|
201 |
-
* Fixed: Icomoon.ttf is preloaded in Design 1 and Design 2. #3945
|
202 |
-
* Fixed: Search translate text option is visible in swift but unused #3934
|
203 |
-
* Fixed: Category module has minor bugs after the update. #3880
|
204 |
-
* Fixed: Improvements required in RTL support in AMP #3938
|
205 |
-
* Fixed: Save buttons are not looking good after WP 5.3 update #3985
|
206 |
-
* Fixed: Video widget support in AMP #3841
|
207 |
-
* Fixed: Time is not working in published date notice #3956
|
208 |
-
* Fixed: Recoverable fatal error: Object of class DOM Node List could not be converted to string #3968
|
209 |
-
* Fixed: In Amp struture data option if we added any schema then description generated in html format #3937
|
210 |
-
* Fixed: Select Taxonomy and Select Category is getting blank in the category module of AMP page builder #3986
|
211 |
-
* Fixed: Notice: Undefined offset: 0 in class-amp-post-template.php on line 378 #3992
|
212 |
-
* Fixed: Undefined variable: designCss #3961
|
213 |
-
* Fixed: Open Graph title is not displaying correctly with SEOPress in AMP. #3966
|
214 |
-
|
215 |
-
= 1.0.2 (19th December 2019) =
|
216 |
-
* Improvement: Need to add wordpress default Gutenburg editor 'Block' settings Compatibility in AMP #3320
|
217 |
-
* Improvement: Need to make compatibility with the Imagify plugin #3908
|
218 |
-
* Improvement: Taxonomy support in AMP Page Builder category module #3310
|
219 |
-
* Improvement: Add support of fallback images in AMP #3790
|
220 |
-
* Improvement: General code improvements part 3 #3941
|
221 |
-
* Improvement: Drop down support in Alternative Menu in Mobile view. #2768
|
222 |
-
* Fixed: The Alternate Menu does not redirecting to the AMP for the product category in menu items #3915
|
223 |
-
* Fixed: Sub-Category Archives on AMP page should be connected to Change internal links to AMP option. #3924
|
224 |
-
* Fixed: Debug warning : Undefined index element #3958
|
225 |
-
* Fixed: MGID Ads are not loading when the Flexible AMP widget option is enabled in the AMP #3864
|
226 |
-
* Fixed: The Close bar is not appearing menu check in mobile iPhone #3964
|
227 |
|
228 |
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.3.2
|
7 |
+
Stable tag: 1.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
191 |
|
192 |
== Changelog ==
|
193 |
|
194 |
+
= 1.0.5 (30th December 2019) =
|
195 |
+
* Fixed: Menu arrow icon not showing properly in mobile version #3995
|
196 |
+
* Fixed: Google Tag manager not firing properly #3826
|
197 |
+
|
198 |
= 1.0.4 (26th December 2019) =
|
199 |
* Fixed: When Optimize CSS (beta) option is enabled AMP page is getting blank #3994
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
Full changelog available [ at changelog.txt](https://plugins.svn.wordpress.org/accelerated-mobile-pages/trunk/changelog.txt)
|
templates/design-manager/swift/style.php
CHANGED
@@ -317,6 +317,7 @@ cursor: pointer;border-radius: 35px;color: <?php echo ampforwp_sanitize_color($r
|
|
317 |
.m-menu .amp-menu .sub-menu li:last-child{border:none;}
|
318 |
.m-menu .amp-menu a {padding: 7px 15px;}
|
319 |
.m-menu > li{font-size:17px;}
|
|
|
320 |
/*New Syles*/
|
321 |
<?php if( true == ampforwp_get_setting('amp-rtl-select-option') ) { ?>
|
322 |
.m-menu .toggle {float :left;}
|
317 |
.m-menu .amp-menu .sub-menu li:last-child{border:none;}
|
318 |
.m-menu .amp-menu a {padding: 7px 15px;}
|
319 |
.m-menu > li{font-size:17px;}
|
320 |
+
.amp-menu .toggle:after{position:absolute;}
|
321 |
/*New Syles*/
|
322 |
<?php if( true == ampforwp_get_setting('amp-rtl-select-option') ) { ?>
|
323 |
.m-menu .toggle {float :left;}
|