Version Description
Download this release
Release Info
Developer | keywordrush |
Plugin | Content Egg |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
application/Plugin.php
CHANGED
@@ -14,7 +14,7 @@ use ContentEgg\application\helpers\CurrencyHelper;
|
|
14 |
*/
|
15 |
class Plugin {
|
16 |
|
17 |
-
const version = '3.0.
|
18 |
const db_version = 26;
|
19 |
const wp_requires = '4.2.2';
|
20 |
const slug = 'content-egg';
|
14 |
*/
|
15 |
class Plugin {
|
16 |
|
17 |
+
const version = '3.0.2';
|
18 |
const db_version = 26;
|
19 |
const wp_requires = '4.2.2';
|
20 |
const slug = 'content-egg';
|
application/modules/RelatedKeywords/RelatedKeywordsConfig.php
CHANGED
@@ -3,7 +3,6 @@
|
|
3 |
namespace ContentEgg\application\modules\RelatedKeywords;
|
4 |
|
5 |
use ContentEgg\application\components\ParserModuleConfig;
|
6 |
-
use ContentEgg\application\modules\BingImages\BingImagesConfig;
|
7 |
|
8 |
/**
|
9 |
* RelatedKeywordsConfig class file
|
@@ -69,7 +68,7 @@ class RelatedKeywordsConfig extends ParserModuleConfig {
|
|
69 |
'title' => __('Market code', 'content-egg'),
|
70 |
'description' => __('The market where the results come from. The market must be in the form [language code]-[country code].', 'content-egg'),
|
71 |
'callback' => array($this, 'render_dropdown'),
|
72 |
-
'dropdown_options' => array_merge(array('' => __('(unspecified)', 'content-egg')),
|
73 |
'default' => '',
|
74 |
),
|
75 |
);
|
@@ -77,5 +76,12 @@ class RelatedKeywordsConfig extends ParserModuleConfig {
|
|
77 |
unset($parent['featured_image']);
|
78 |
return array_merge($parent, $optiosn);
|
79 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
}
|
3 |
namespace ContentEgg\application\modules\RelatedKeywords;
|
4 |
|
5 |
use ContentEgg\application\components\ParserModuleConfig;
|
|
|
6 |
|
7 |
/**
|
8 |
* RelatedKeywordsConfig class file
|
68 |
'title' => __('Market code', 'content-egg'),
|
69 |
'description' => __('The market where the results come from. The market must be in the form [language code]-[country code].', 'content-egg'),
|
70 |
'callback' => array($this, 'render_dropdown'),
|
71 |
+
'dropdown_options' => array_merge(array('' => __('(unspecified)', 'content-egg')), self::marketCodes()),
|
72 |
'default' => '',
|
73 |
),
|
74 |
);
|
76 |
unset($parent['featured_image']);
|
77 |
return array_merge($parent, $optiosn);
|
78 |
}
|
79 |
+
|
80 |
+
static public function marketCodes()
|
81 |
+
{
|
82 |
+
$codes = array('es-AR', 'en-AU', 'de-AT', 'nl-BE', 'fr-BE', 'pt-BR', 'en-CA', 'fr-CA', 'es-CL', 'da-DK', 'fi-FI', 'fr-FR', 'de-DE', 'zh-HK', 'en-IN', 'en-ID', 'en-IE', 'it-IT', 'ja-JP', 'ko-KR', 'en-MY', 'es-MX', 'nl-NL', 'en-NZ', 'no-NO', 'zh-CN', 'pl-PL', 'pt-PT', 'en-PH', 'ru-RU', 'ar-SA', 'en-ZA', 'es-ES', 'sv-SE', 'fr-CH', 'de-CH', 'zh-TW', 'tr-TR', 'en-GB', 'en-US', 'es-US');
|
83 |
+
return array_combine($codes, $codes);
|
84 |
+
}
|
85 |
+
|
86 |
|
87 |
}
|
application/modules/RelatedKeywords/RelatedKeywordsModule.php
CHANGED
@@ -13,7 +13,7 @@ use ContentEgg\application\helpers\TextHelper;
|
|
13 |
*
|
14 |
* @author keywordrush.com <support@keywordrush.com>
|
15 |
* @link http://www.keywordrush.com/
|
16 |
-
* @copyright Copyright ©
|
17 |
*/
|
18 |
class RelatedKeywordsModule extends ParserModule {
|
19 |
|
13 |
*
|
14 |
* @author keywordrush.com <support@keywordrush.com>
|
15 |
* @link http://www.keywordrush.com/
|
16 |
+
* @copyright Copyright © 2016 keywordrush.com
|
17 |
*/
|
18 |
class RelatedKeywordsModule extends ParserModule {
|
19 |
|
content-egg.php
CHANGED
@@ -6,7 +6,7 @@ namespace ContentEgg;
|
|
6 |
Plugin Name: Content Egg
|
7 |
Plugin URI: http://www.keywordrush.com/contentegg
|
8 |
Description: Easily adding auto updating products from affiliate systems and additional content to posts.
|
9 |
-
Version: 3.0.
|
10 |
Author: keywordrush.com
|
11 |
Author URI: http://www.keywordrush.com
|
12 |
Text Domain: content-egg
|
6 |
Plugin Name: Content Egg
|
7 |
Plugin URI: http://www.keywordrush.com/contentegg
|
8 |
Description: Easily adding auto updating products from affiliate systems and additional content to posts.
|
9 |
+
Version: 3.0.2
|
10 |
Author: keywordrush.com
|
11 |
Author URI: http://www.keywordrush.com
|
12 |
Text Domain: content-egg
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: keywordrush,wpsoul
|
|
3 |
Tags: content, affiliate, autoblogging, amazon, affilinet, coupons, linkshare, shareasale, ozon, flickr, youtube, commission junction, aliexpress, cj, images, wikipedia, freebase, ecommerce, links, shortcode, monetize, search engine optimization, ebay, zanox, moneymaking, price comparison, google images, timesaving, clickbank, linkshare, pixabay, admitad, affilitewindow, otimisemedia, tradedoubler, flipkart, paytm, price alert, tracker, impactradius
|
4 |
Requires at least: 4.2.2
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 3.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
3 |
Tags: content, affiliate, autoblogging, amazon, affilinet, coupons, linkshare, shareasale, ozon, flickr, youtube, commission junction, aliexpress, cj, images, wikipedia, freebase, ecommerce, links, shortcode, monetize, search engine optimization, ebay, zanox, moneymaking, price comparison, google images, timesaving, clickbank, linkshare, pixabay, admitad, affilitewindow, otimisemedia, tradedoubler, flipkart, paytm, price alert, tracker, impactradius
|
4 |
Requires at least: 4.2.2
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 3.0.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|