Version Description
(12 April 2017) = * Design-3 Slider URL redirecting to non-AMP page #758 * Ads showing in comments #768
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 0.9.47.2 |
Comparing to | |
See all releases |
Code changes from version 0.9.47.1 to 0.9.47.2
- accelerated-moblie-pages.php +2 -2
- readme.txt +5 -1
- templates/design-manager/design-1/archive.php +2 -2
- templates/design-manager/design-1/elements/comments.php +1 -1
- templates/design-manager/design-2/archive.php +2 -2
- templates/design-manager/design-2/elements/comments.php +1 -1
- templates/design-manager/design-3/archive.php +2 -2
- templates/design-manager/design-3/elements/comments.php +1 -1
- templates/design-manager/design-3/index.php +1 -1
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: 0.9.47.
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/5
|
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
16 |
define('AMPFORWP_PLUGIN_DIR', plugin_dir_path( __FILE__ ));
|
17 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
|
18 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
19 |
-
define('AMPFORWP_VERSION','0.9.47.
|
20 |
// any changes to AMP_QUERY_VAR should be refelected here
|
21 |
define('AMPFORWP_AMP_QUERY_VAR', apply_filters( 'amp_query_var', 'amp' ) );
|
22 |
|
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: 0.9.47.2
|
7 |
Author: Ahmed Kaludi, Mohammed Kaludi
|
8 |
Author URI: https://ampforwp.com/
|
9 |
Donate link: https://www.paypal.me/Kaludi/5
|
16 |
define('AMPFORWP_PLUGIN_DIR', plugin_dir_path( __FILE__ ));
|
17 |
define('AMPFORWP_DISQUS_URL',plugin_dir_url(__FILE__).'includes/disqus.php');
|
18 |
define('AMPFORWP_IMAGE_DIR',plugin_dir_url(__FILE__).'images');
|
19 |
+
define('AMPFORWP_VERSION','0.9.47.2');
|
20 |
// any changes to AMP_QUERY_VAR should be refelected here
|
21 |
define('AMPFORWP_AMP_QUERY_VAR', apply_filters( 'amp_query_var', 'amp' ) );
|
22 |
|
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/5
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.7.3
|
7 |
-
Stable tag: 0.9.47.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -129,6 +129,10 @@ You can contact me using this url: http://ampforwp.com/contact/
|
|
129 |
|
130 |
== Changelog ==
|
131 |
|
|
|
|
|
|
|
|
|
132 |
= 0.9.47.1 (11 April 2017) =
|
133 |
* Meta description option improved in SEO section #766
|
134 |
* Fatal error: require_once report-bugs.php #747
|
4 |
Donate link: https://www.paypal.me/Kaludi/5
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.7.3
|
7 |
+
Stable tag: 0.9.47.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
129 |
|
130 |
== Changelog ==
|
131 |
|
132 |
+
= 0.9.47.2 (12 April 2017) =
|
133 |
+
* Design-3 Slider URL redirecting to non-AMP page #758
|
134 |
+
* Ads showing in comments #768
|
135 |
+
|
136 |
= 0.9.47.1 (11 April 2017) =
|
137 |
* Meta description option improved in SEO section #766
|
138 |
* Fatal error: require_once report-bugs.php #747
|
templates/design-manager/design-1/archive.php
CHANGED
@@ -32,8 +32,8 @@
|
|
32 |
|
33 |
<?php if ( is_archive() ) {
|
34 |
the_archive_title( '<h3 class="page-title">', '</h3>' );
|
35 |
-
$description
|
36 |
-
$arch_desc
|
37 |
if( $arch_desc ) { ?>
|
38 |
<div class="amp-wp-content taxonomy-description">
|
39 |
<?php echo $arch_desc ; ?>
|
32 |
|
33 |
<?php if ( is_archive() ) {
|
34 |
the_archive_title( '<h3 class="page-title">', '</h3>' );
|
35 |
+
$description = get_the_archive_description();
|
36 |
+
$arch_desc = $description;
|
37 |
if( $arch_desc ) { ?>
|
38 |
<div class="amp-wp-content taxonomy-description">
|
39 |
<?php echo $arch_desc ; ?>
|
templates/design-manager/design-1/elements/comments.php
CHANGED
@@ -46,7 +46,7 @@ if (!comments_open() || $redux_builder_amp['ampforwp-disqus-comments-support'])
|
|
46 |
<div class="comment-content">
|
47 |
<p><?php
|
48 |
$comment_content = get_comment_text();
|
49 |
-
echo
|
50 |
</p>
|
51 |
</div>
|
52 |
<!-- .comment-content -->
|
46 |
<div class="comment-content">
|
47 |
<p><?php
|
48 |
$comment_content = get_comment_text();
|
49 |
+
echo $comment_content; ?>
|
50 |
</p>
|
51 |
</div>
|
52 |
<!-- .comment-content -->
|
templates/design-manager/design-2/archive.php
CHANGED
@@ -34,8 +34,8 @@
|
|
34 |
<div class="amp-wp-content amp-archive-heading">
|
35 |
<?php
|
36 |
the_archive_title( '<h3 class="page-title">', '</h3>' );
|
37 |
-
$description
|
38 |
-
$arch_desc
|
39 |
if( $arch_desc ) { ?>
|
40 |
<div class="amp-wp-content taxonomy-description">
|
41 |
<?php echo $arch_desc ; ?>
|
34 |
<div class="amp-wp-content amp-archive-heading">
|
35 |
<?php
|
36 |
the_archive_title( '<h3 class="page-title">', '</h3>' );
|
37 |
+
$description = get_the_archive_description();
|
38 |
+
$arch_desc = $description;
|
39 |
if( $arch_desc ) { ?>
|
40 |
<div class="amp-wp-content taxonomy-description">
|
41 |
<?php echo $arch_desc ; ?>
|
templates/design-manager/design-2/elements/comments.php
CHANGED
@@ -46,7 +46,7 @@ if (!comments_open() || $redux_builder_amp['ampforwp-disqus-comments-support'])
|
|
46 |
<div class="comment-content">
|
47 |
<p><?php
|
48 |
$comment_content = get_comment_text();
|
49 |
-
echo
|
50 |
</p>
|
51 |
</div>
|
52 |
<!-- .comment-content -->
|
46 |
<div class="comment-content">
|
47 |
<p><?php
|
48 |
$comment_content = get_comment_text();
|
49 |
+
echo $comment_content; ?>
|
50 |
</p>
|
51 |
</div>
|
52 |
<!-- .comment-content -->
|
templates/design-manager/design-3/archive.php
CHANGED
@@ -56,8 +56,8 @@ if ( get_query_var( 'paged' ) ) {
|
|
56 |
<?php if ( is_archive() ) {
|
57 |
the_archive_title( '<h3 class="amp-wp-content page-title">', '</h3>' );
|
58 |
|
59 |
-
$description
|
60 |
-
$arch_desc
|
61 |
if( $arch_desc ) { ?>
|
62 |
<div class="amp-wp-content taxonomy-description">
|
63 |
<?php echo $arch_desc ; ?>
|
56 |
<?php if ( is_archive() ) {
|
57 |
the_archive_title( '<h3 class="amp-wp-content page-title">', '</h3>' );
|
58 |
|
59 |
+
$description = get_the_archive_description();
|
60 |
+
$arch_desc = $description;
|
61 |
if( $arch_desc ) { ?>
|
62 |
<div class="amp-wp-content taxonomy-description">
|
63 |
<?php echo $arch_desc ; ?>
|
templates/design-manager/design-3/elements/comments.php
CHANGED
@@ -46,7 +46,7 @@ if (!comments_open() || $redux_builder_amp['ampforwp-disqus-comments-support'])
|
|
46 |
<div class="comment-content">
|
47 |
<p><?php
|
48 |
$comment_content = get_comment_text();
|
49 |
-
echo
|
50 |
</p>
|
51 |
</div>
|
52 |
<!-- .comment-content -->
|
46 |
<div class="comment-content">
|
47 |
<p><?php
|
48 |
$comment_content = get_comment_text();
|
49 |
+
echo $comment_content; ?>
|
50 |
</p>
|
51 |
</div>
|
52 |
<!-- .comment-content -->
|
templates/design-manager/design-3/index.php
CHANGED
@@ -79,7 +79,7 @@ if ( get_query_var( 'paged' ) ) {
|
|
79 |
?>
|
80 |
<amp-img src=<?php echo $thumb_url ?> width=450 height=270></amp-img>
|
81 |
<?php } ?>
|
82 |
-
<a href="<?php trailingslashit( trailingslashit(
|
83 |
<div class="featured_title">
|
84 |
<div class="featured_time"><?php global $redux_builder_amp; echo human_time_diff( get_the_time('U'), current_time('timestamp') ) .' '. $redux_builder_amp['amp-translator-ago-date-text']; ?></div>
|
85 |
<h1><?php the_title() ?></h1>
|
79 |
?>
|
80 |
<amp-img src=<?php echo $thumb_url ?> width=450 height=270></amp-img>
|
81 |
<?php } ?>
|
82 |
+
<a href="<?php echo trailingslashit( trailingslashit( get_the_permalink() ) . AMPFORWP_AMP_QUERY_VAR ); ?>">
|
83 |
<div class="featured_title">
|
84 |
<div class="featured_time"><?php global $redux_builder_amp; echo human_time_diff( get_the_time('U'), current_time('timestamp') ) .' '. $redux_builder_amp['amp-translator-ago-date-text']; ?></div>
|
85 |
<h1><?php the_title() ?></h1>
|