Version Description
(2020-11-23) = * Added : Canonical URL in feed for rank math seo plugin.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 4.2.5 |
Comparing to | |
See all releases |
Code changes from version 4.2.4 to 4.2.5
README.txt
CHANGED
@@ -8,7 +8,7 @@ Google Product Review feed, product variations, rakuteen, shopping, skroutz, TSV
|
|
8 |
Requires at least: 3.6
|
9 |
Tested Up To: 5.5
|
10 |
Requires PHP: 5.6
|
11 |
-
Stable tag: 4.2.
|
12 |
License: GPLv2 or later
|
13 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
14 |
|
@@ -311,6 +311,9 @@ Using pro version:
|
|
311 |
|
312 |
== Changelog ==
|
313 |
|
|
|
|
|
|
|
314 |
= 4.2.4 (2020-11-22) =
|
315 |
* Added : Rank Math SEO plugin support.
|
316 |
|
8 |
Requires at least: 3.6
|
9 |
Tested Up To: 5.5
|
10 |
Requires PHP: 5.6
|
11 |
+
Stable tag: 4.2.5
|
12 |
License: GPLv2 or later
|
13 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
14 |
|
311 |
|
312 |
== Changelog ==
|
313 |
|
314 |
+
= 4.2.5 (2020-11-23) =
|
315 |
+
* Added : Canonical URL in feed for rank math seo plugin.
|
316 |
+
|
317 |
= 4.2.4 (2020-11-22) =
|
318 |
* Added : Rank Math SEO plugin support.
|
319 |
|
includes/classes/class-woo-feed-dropdown.php
CHANGED
@@ -243,7 +243,8 @@ class Woo_Feed_Dropdown {
|
|
243 |
$attributes,
|
244 |
array(
|
245 |
'rank_math_title' => esc_html__( 'Title [Rank Math SEO]', 'woo-feed' ),
|
246 |
-
'rank_math_description' => esc_html__( 'Description [Rank Math SEO]', 'woo-feed' )
|
|
|
247 |
)
|
248 |
);
|
249 |
}
|
243 |
$attributes,
|
244 |
array(
|
245 |
'rank_math_title' => esc_html__( 'Title [Rank Math SEO]', 'woo-feed' ),
|
246 |
+
'rank_math_description' => esc_html__( 'Description [Rank Math SEO]', 'woo-feed' ),
|
247 |
+
'rank_math_canonical_url' => esc_html__( 'Rank Math Canonical URL [Rank Math SEO]', 'woo-feed' ),
|
248 |
)
|
249 |
);
|
250 |
}
|
includes/classes/class-woo-feed-products-v3.php
CHANGED
@@ -1474,6 +1474,35 @@ class Woo_Feed_Products_v3
|
|
1474 |
return $description;
|
1475 |
}
|
1476 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1477 |
/**
|
1478 |
* Get All In One Product Title
|
1479 |
*
|
1474 |
return $description;
|
1475 |
}
|
1476 |
|
1477 |
+
/**
|
1478 |
+
* Get Rank Math Canonical URL
|
1479 |
+
*
|
1480 |
+
* @param WC_Product $product
|
1481 |
+
*
|
1482 |
+
* @return mixed
|
1483 |
+
* @since 5.1.6
|
1484 |
+
*/
|
1485 |
+
protected function rank_math_canonical_url($product) {
|
1486 |
+
$canonical_url = '';
|
1487 |
+
|
1488 |
+
if( class_exists('RankMath') ) {
|
1489 |
+
$post_canonical_url = get_post_meta($product->get_id(), 'rank_math_canonical_url');
|
1490 |
+
|
1491 |
+
if( empty($post_canonical_url) ) {
|
1492 |
+
$canonical_url = get_the_permalink($product->get_id());
|
1493 |
+
}else {
|
1494 |
+
$canonical_url = $post_canonical_url;
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
if( is_array($canonical_url) ) {
|
1498 |
+
$canonical_url = reset($canonical_url);
|
1499 |
+
}
|
1500 |
+
}
|
1501 |
+
|
1502 |
+
return $canonical_url;
|
1503 |
+
}
|
1504 |
+
|
1505 |
+
|
1506 |
/**
|
1507 |
* Get All In One Product Title
|
1508 |
*
|
woo-feed.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: WooCommerce Product Feed
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
-
* Version: 4.2.
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
|
|
38 |
* @var string
|
39 |
* @since 3.1.6
|
40 |
*/
|
41 |
-
define( 'WOO_FEED_FREE_VERSION', '4.2.
|
42 |
}
|
43 |
|
44 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
10 |
* Plugin Name: WooCommerce Product Feed
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
+
* Version: 4.2.5
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
38 |
* @var string
|
39 |
* @since 3.1.6
|
40 |
*/
|
41 |
+
define( 'WOO_FEED_FREE_VERSION', '4.2.5' );
|
42 |
}
|
43 |
|
44 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|