Version Description
- Minor fix for the "Twenty Sixteen Wordpress theme
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 3.4.1 |
Comparing to | |
See all releases |
Code changes from version 3.4 to 3.4.1
- css/2014adjustments.css +0 -3
- css/themes/2016.css +5 -0
- ecwid-shopping-cart.php +3 -3
- includes/themes/class-ecwid-theme-genesis.php +19 -0
- includes/themes/class-ecwid-theme-twentysixteen.php +21 -0
- readme.txt +4 -1
css/2014adjustments.css
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
.site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta {
|
2 |
-
max-width: none;
|
3 |
-
}
|
|
|
|
|
|
css/themes/2016.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.ecwid a,
|
2 |
+
.ecwid-shopping-cart-categories a
|
3 |
+
{
|
4 |
+
box-shadow: none;
|
5 |
+
}
|
ecwid-shopping-cart.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?source=wporg
|
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Team
|
8 |
-
Version: 3.4
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
@@ -846,10 +846,10 @@ function ecwid_content_started($content)
|
|
846 |
|
847 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
848 |
{
|
849 |
-
return "<!-- Ecwid shopping cart plugin v 3.4 --><!-- noptimize -->"
|
850 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
851 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
852 |
-
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 3.4 -->";
|
853 |
}
|
854 |
|
855 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Team
|
8 |
+
Version: 3.4.1
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
846 |
|
847 |
function ecwid_wrap_shortcode_content($content, $name, $attrs)
|
848 |
{
|
849 |
+
return "<!-- Ecwid shopping cart plugin v 3.4.1 --><!-- noptimize -->"
|
850 |
. ecwid_get_scriptjs_code(@$attrs['lang'])
|
851 |
. "<div class=\"ecwid-shopping-cart-$name\">$content</div>"
|
852 |
+
. "<!-- /noptimize --><!-- END Ecwid Shopping Cart v 3.4.1 -->";
|
853 |
}
|
854 |
|
855 |
function ecwid_get_scriptjs_code($force_lang = null) {
|
includes/themes/class-ecwid-theme-genesis.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
|
4 |
+
|
5 |
+
class Ecwid_Theme_Genesis extends Ecwid_Theme_Base
|
6 |
+
{
|
7 |
+
protected $name = 'Genesis';
|
8 |
+
|
9 |
+
public function __construct()
|
10 |
+
{
|
11 |
+
parent::__construct();
|
12 |
+
|
13 |
+
if (array_key_exists('_escaped_fragment_', $_GET) && ecwid_page_has_productbrowser()) {
|
14 |
+
remove_action( 'wp_head', 'genesis_canonical', 5 );
|
15 |
+
}
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
$ecwid_current_theme = new Ecwid_Theme_Genesis();
|
includes/themes/class-ecwid-theme-twentysixteen.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ECWID_THEMES_DIR . '/class-ecwid-theme-base.php';
|
4 |
+
|
5 |
+
class Ecwid_Theme_2016 extends Ecwid_Theme_Base
|
6 |
+
{
|
7 |
+
protected $name = 'Twenty Sixteen';
|
8 |
+
|
9 |
+
protected $adjust_pb_scroll = true;
|
10 |
+
|
11 |
+
public function __construct()
|
12 |
+
{
|
13 |
+
parent::__construct();
|
14 |
+
|
15 |
+
if (ecwid_page_has_productbrowser()) {
|
16 |
+
wp_enqueue_style( 'ecwid-theme', plugins_url( 'ecwid-shopping-cart/css/themes/2016.css' ), array('twentysixteen-style'), get_option('ecwid_plugin_version') );
|
17 |
+
}
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
+
$ecwid_current_theme = new Ecwid_Theme_2016();
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: ecwid
|
|
3 |
Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.3
|
6 |
-
Stable tag: 3.4
|
7 |
|
8 |
Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
|
9 |
|
@@ -107,6 +107,9 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
|
|
107 |
* [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
|
108 |
|
109 |
== Changelog ==
|
|
|
|
|
|
|
110 |
= 3.4 =
|
111 |
- **New look for the categories menu widget.** The old Ecwid categories menu widget (horizontal categories) was created long time ago and has been working in thousands of Ecwid stores. However, it doesn't adapt itself for the customer screen size as well as the other Ecwid widgets do. This has been always be a problem for responsive sites which look good on mobile devices. The new widget is fully responsive and looks great on mobile devices. To enable the new look of the categories widget on your site, navigate to Ecwid plugin settings -> "Advanced" tab and tick the "Enable the new category menu" checkbox. Once enabled, it will your store menu widget to the new look. If you don't have this option on the Advanced page, that means you installed the plugin after this change and the new categories are already enabled in your store. Enjoy!
|
112 |
- **Bigger product images for search engines.** The plugin used to generate small product thumbnails on special store pages for search engines. Now it displays the original large product pictures there to assure better indexing of your product images in Google. Please make sure you're on one of Ecwid paid plans to make your products along with the pictures indexable by search engines.
|
3 |
Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 4.3
|
6 |
+
Stable tag: 3.4.1
|
7 |
|
8 |
Ecwid is a full-featured shopping cart that can be added to any Wordpress site in less than 5 minutes. Start using Ecwid for free today.
|
9 |
|
107 |
* [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
|
108 |
|
109 |
== Changelog ==
|
110 |
+
= 3.4.1 =
|
111 |
+
- Minor fix for the "Twenty Sixteen” Wordpress theme
|
112 |
+
|
113 |
= 3.4 =
|
114 |
- **New look for the categories menu widget.** The old Ecwid categories menu widget (horizontal categories) was created long time ago and has been working in thousands of Ecwid stores. However, it doesn't adapt itself for the customer screen size as well as the other Ecwid widgets do. This has been always be a problem for responsive sites which look good on mobile devices. The new widget is fully responsive and looks great on mobile devices. To enable the new look of the categories widget on your site, navigate to Ecwid plugin settings -> "Advanced" tab and tick the "Enable the new category menu" checkbox. Once enabled, it will your store menu widget to the new look. If you don't have this option on the Advanced page, that means you installed the plugin after this change and the new categories are already enabled in your store. Enjoy!
|
115 |
- **Bigger product images for search engines.** The plugin used to generate small product thumbnails on special store pages for search engines. Now it displays the original large product pictures there to assure better indexing of your product images in Google. Please make sure you're on one of Ecwid paid plans to make your products along with the pictures indexable by search engines.
|