Version Description
(12th February 2020) = * Fixed: Title issue #4138
Download this release
Release Info
Developer | mohammed_kaludi |
Plugin | AMP for WP – Accelerated Mobile Pages |
Version | 1.0.25 |
Comparing to | |
See all releases |
Code changes from version 1.0.24 to 1.0.25
- README.md +3 -0
- accelerated-moblie-pages.php +2 -2
- changelog.txt +3 -0
- components/components-core.php +4 -4
- readme.txt +4 -1
README.md
CHANGED
@@ -194,6 +194,9 @@ Device testing done through [BrowserStack](https://www.browserstack.com)
|
|
194 |
|
195 |
== Changelog ==
|
196 |
|
|
|
|
|
|
|
197 |
= 1.0.24 (11th February 2020) =
|
198 |
* Improvement: Added filter to modify the breadcrumb homepage url #4077
|
199 |
* Fixed: Image alignment on the left issue #4156
|
194 |
|
195 |
== Changelog ==
|
196 |
|
197 |
+
= 1.0.25 (12th February 2020) =
|
198 |
+
* Fixed: Title issue #4138
|
199 |
+
|
200 |
= 1.0.24 (11th February 2020) =
|
201 |
* Improvement: Added filter to modify the breadcrumb homepage url #4077
|
202 |
* Fixed: Image alignment on the left issue #4156
|
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.25
|
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.25');
|
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,8 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
3 |
= 1.0.24 (11th February 2020) =
|
4 |
* Improvement: Added filter to modify the breadcrumb homepage url #4077
|
5 |
* Fixed: Image alignment on the left issue #4156
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.0.25 (12th February 2020) =
|
4 |
+
* Fixed: Title issue #4138
|
5 |
+
|
6 |
= 1.0.24 (11th February 2020) =
|
7 |
* Improvement: Added filter to modify the breadcrumb homepage url #4077
|
8 |
* Fixed: Image alignment on the left issue #4156
|
components/components-core.php
CHANGED
@@ -106,13 +106,13 @@ function amp_logo(){
|
|
106 |
// Title
|
107 |
function amp_title(){
|
108 |
global $post;
|
109 |
-
$ID =
|
110 |
if ( ampforwp_polylang_front_page() ) {
|
111 |
$ID = pll_get_post(get_option('page_on_front'));
|
112 |
}
|
113 |
-
elseif( ampforwp_get_setting('ampforwp-title-on-front-page') ) {
|
114 |
-
|
115 |
-
|
116 |
if( $ID!=null ){
|
117 |
do_action('ampforwp_above_the_title');
|
118 |
$ampforwp_title = get_the_title($ID);
|
106 |
// Title
|
107 |
function amp_title(){
|
108 |
global $post;
|
109 |
+
$ID = ampforwp_get_the_ID();
|
110 |
if ( ampforwp_polylang_front_page() ) {
|
111 |
$ID = pll_get_post(get_option('page_on_front'));
|
112 |
}
|
113 |
+
elseif( ampforwp_is_front_page() && ampforwp_get_setting('ampforwp-title-on-front-page') == false) {
|
114 |
+
$ID = null;
|
115 |
+
}
|
116 |
if( $ID!=null ){
|
117 |
do_action('ampforwp_above_the_title');
|
118 |
$ampforwp_title = get_the_title($ID);
|
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,6 +191,9 @@ You can contact us from [here](https://ampforwp.com/contact/)
|
|
191 |
|
192 |
== Changelog ==
|
193 |
|
|
|
|
|
|
|
194 |
= 1.0.24 (11th February 2020) =
|
195 |
* Improvement: Added filter to modify the breadcrumb homepage url #4077
|
196 |
* Fixed: Image alignment on the left issue #4156
|
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.25
|
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.25 (12th February 2020) =
|
195 |
+
* Fixed: Title issue #4138
|
196 |
+
|
197 |
= 1.0.24 (11th February 2020) =
|
198 |
* Improvement: Added filter to modify the breadcrumb homepage url #4077
|
199 |
* Fixed: Image alignment on the left issue #4156
|