Version Description
- Released 18 December 2013
- Fixed bug re missing argument in the_title filter (in template-loader.php). Props Gary Jones.
Download this release
Release Info
| Developer | studiograsshopper |
| Plugin | |
| Version | 0.9.6 |
| Comparing to | |
| See all releases | |
Code changes from version 0.9.5 to 0.9.6
- genesis-connect-woocommerce.php +1 -1
- lib/breadcrumb.php +1 -1
- lib/template-loader.php +5 -3
- readme.txt +6 -2
- sp-plugins-integration/genesis-simple-menus.php +1 -1
- sp-plugins-integration/genesis-simple-sidebars.php +1 -1
- templates/archive-product.php +1 -1
- templates/single-product.php +1 -1
- templates/taxonomy.php +1 -1
genesis-connect-woocommerce.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/*
|
| 3 |
Plugin Name: Genesis Connect for WooCommerce
|
| 4 |
Plugin URI: http://www.studiopress.com/plugins/genesis-connect-woocommerce
|
| 5 |
-
Version: 0.9.
|
| 6 |
Author: StudioPress
|
| 7 |
Author URI: http://www.studiopress.com/
|
| 8 |
Description: Allows you to seamlessly integrate WooCommerce with the Genesis Framework and Genesis child themes.
|
| 2 |
/*
|
| 3 |
Plugin Name: Genesis Connect for WooCommerce
|
| 4 |
Plugin URI: http://www.studiopress.com/plugins/genesis-connect-woocommerce
|
| 5 |
+
Version: 0.9.6
|
| 6 |
Author: StudioPress
|
| 7 |
Author URI: http://www.studiopress.com/
|
| 8 |
Description: Allows you to seamlessly integrate WooCommerce with the Genesis Framework and Genesis child themes.
|
lib/breadcrumb.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* This file contains functions related modifying Genesis Breadcrumb output
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
*
|
| 8 |
* @since 0.9.0
|
| 9 |
*
|
| 3 |
* This file contains functions related modifying Genesis Breadcrumb output
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
*
|
| 8 |
* @since 0.9.0
|
| 9 |
*
|
lib/template-loader.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* These functions manage loading of templates for WooCommerce
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
*
|
| 8 |
* @since 0.9.0
|
| 9 |
*/
|
|
@@ -165,6 +165,7 @@ function gencwooc_template_loader( $template ) {
|
|
| 165 |
*
|
| 166 |
*
|
| 167 |
* @since 0.9.4
|
|
|
|
| 168 |
* @global string|int $shop_page_id The ID of the Shop WP Page
|
| 169 |
*/
|
| 170 |
function genesiswooc_product_archive() {
|
|
@@ -173,7 +174,7 @@ function genesiswooc_product_archive() {
|
|
| 173 |
|
| 174 |
if ( !is_search() ) :
|
| 175 |
$shop_page = get_post( $shop_page_id );
|
| 176 |
-
$shop_page_title = apply_filters( 'the_title', ( get_option( 'woocommerce_shop_page_title' ) ) ? get_option( 'woocommerce_shop_page_title' ) : $shop_page->post_title );
|
| 177 |
$shop_page_content = $shop_page->post_content;
|
| 178 |
else :
|
| 179 |
$shop_page_title = __( 'Search Results:', 'woocommerce' ) . ' “' . get_search_query() . '”';
|
|
@@ -232,6 +233,7 @@ function genesiswooc_product_taxonomy() {
|
|
| 232 |
*
|
| 233 |
*
|
| 234 |
* @since 0.9.4
|
|
|
|
| 235 |
*/
|
| 236 |
function genesiswooc_content_product() {
|
| 237 |
|
|
@@ -251,7 +253,7 @@ function genesiswooc_content_product() {
|
|
| 251 |
<?php
|
| 252 |
$shop_page = get_post( woocommerce_get_page_id( 'shop' ) );
|
| 253 |
|
| 254 |
-
echo apply_filters( 'the_title', ( $shop_page_title = get_option( 'woocommerce_shop_page_title' ) ) ? $shop_page_title : $shop_page->post_title );
|
| 255 |
?>
|
| 256 |
<?php endif; ?>
|
| 257 |
</h1>
|
| 3 |
* These functions manage loading of templates for WooCommerce
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
*
|
| 8 |
* @since 0.9.0
|
| 9 |
*/
|
| 165 |
*
|
| 166 |
*
|
| 167 |
* @since 0.9.4
|
| 168 |
+
* @updated 0.9.6
|
| 169 |
* @global string|int $shop_page_id The ID of the Shop WP Page
|
| 170 |
*/
|
| 171 |
function genesiswooc_product_archive() {
|
| 174 |
|
| 175 |
if ( !is_search() ) :
|
| 176 |
$shop_page = get_post( $shop_page_id );
|
| 177 |
+
$shop_page_title = apply_filters( 'the_title', ( get_option( 'woocommerce_shop_page_title' ) ) ? get_option( 'woocommerce_shop_page_title' ) : $shop_page->post_title, $shop_page->ID );
|
| 178 |
$shop_page_content = $shop_page->post_content;
|
| 179 |
else :
|
| 180 |
$shop_page_title = __( 'Search Results:', 'woocommerce' ) . ' “' . get_search_query() . '”';
|
| 233 |
*
|
| 234 |
*
|
| 235 |
* @since 0.9.4
|
| 236 |
+
* @updated 0.9.6
|
| 237 |
*/
|
| 238 |
function genesiswooc_content_product() {
|
| 239 |
|
| 253 |
<?php
|
| 254 |
$shop_page = get_post( woocommerce_get_page_id( 'shop' ) );
|
| 255 |
|
| 256 |
+
echo apply_filters( 'the_title', ( $shop_page_title = get_option( 'woocommerce_shop_page_title' ) ) ? $shop_page_title : $shop_page->post_title, $shop_page->ID );
|
| 257 |
?>
|
| 258 |
<?php endif; ?>
|
| 259 |
</h1>
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
Contributors: nathanrice, studiopress, studiograsshopper
|
| 3 |
Tags: genesis, genesiswp, studiopress, woocommerce
|
| 4 |
Requires at least: 3.3
|
| 5 |
-
Tested up to: 3.
|
| 6 |
-
Stable tag: 0.9.
|
| 7 |
|
| 8 |
This plugin allows you to seamlessly integrate WooCommerce with the Genesis Framework and Genesis child themes.
|
| 9 |
|
|
@@ -141,6 +141,10 @@ For the benefit of theme developers and customizers, here is a summary of possib
|
|
| 141 |
|
| 142 |
== Changelog ==
|
| 143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
= 0.9.5 =
|
| 145 |
* Released 14 March 2013
|
| 146 |
* add_theme_support( 'woocommerce' ) added to ensure compatibility with WooCommerce 2.0+
|
| 2 |
Contributors: nathanrice, studiopress, studiograsshopper
|
| 3 |
Tags: genesis, genesiswp, studiopress, woocommerce
|
| 4 |
Requires at least: 3.3
|
| 5 |
+
Tested up to: 3.8
|
| 6 |
+
Stable tag: 0.9.6
|
| 7 |
|
| 8 |
This plugin allows you to seamlessly integrate WooCommerce with the Genesis Framework and Genesis child themes.
|
| 9 |
|
| 141 |
|
| 142 |
== Changelog ==
|
| 143 |
|
| 144 |
+
= 0.9.6 =
|
| 145 |
+
* Released 18 December 2013
|
| 146 |
+
* Fixed bug re missing argument in the_title filter (in template-loader.php). Props Gary Jones.
|
| 147 |
+
|
| 148 |
= 0.9.5 =
|
| 149 |
* Released 14 March 2013
|
| 150 |
* add_theme_support( 'woocommerce' ) added to ensure compatibility with WooCommerce 2.0+
|
sp-plugins-integration/genesis-simple-menus.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Integration - Genesis Simple Menus
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
|
| 8 |
*
|
| 9 |
* @since 0.9.0
|
| 3 |
* Integration - Genesis Simple Menus
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
|
| 8 |
*
|
| 9 |
* @since 0.9.0
|
sp-plugins-integration/genesis-simple-sidebars.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Integration - Genesis Simple Sidebars
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
*
|
| 8 |
* @since 0.9.0
|
| 9 |
*
|
| 3 |
* Integration - Genesis Simple Sidebars
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
*
|
| 8 |
* @since 0.9.0
|
| 9 |
*
|
templates/archive-product.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* This template displays the archive for Products
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
*
|
| 8 |
* Note for customisers/users: Do not edit this file!
|
| 9 |
* ==================================================
|
| 3 |
* This template displays the archive for Products
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
*
|
| 8 |
* Note for customisers/users: Do not edit this file!
|
| 9 |
* ==================================================
|
templates/single-product.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* This template displays the single Product
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
*
|
| 8 |
* Note for customisers/users: Do not edit this file!
|
| 9 |
* ==================================================
|
| 3 |
* This template displays the single Product
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
*
|
| 8 |
* Note for customisers/users: Do not edit this file!
|
| 9 |
* ==================================================
|
templates/taxonomy.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* This template displays the Product Category and Tag taxonomy term archives
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
-
* @version 0.9.
|
| 7 |
*
|
| 8 |
* Note for customisers/users: Do not edit this file!
|
| 9 |
* ==================================================
|
| 3 |
* This template displays the Product Category and Tag taxonomy term archives
|
| 4 |
*
|
| 5 |
* @package genesis_connect_woocommerce
|
| 6 |
+
* @version 0.9.6
|
| 7 |
*
|
| 8 |
* Note for customisers/users: Do not edit this file!
|
| 9 |
* ==================================================
|
