This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Event Custom Post Type | |
Plugin URI: http://wpbeaches.com/create-custom-post-types-in-genesis-child-theme-in-wordpress/ | |
Description: Custom Post Types for Event | |
Author: Neil Gee | |
Version:1 | |
Author URI:http://wpbeaches.com | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof(Ecwid) == 'object') { | |
Ecwid.OnAPILoaded.add(function() { | |
// Redirect address. Change it to the URL of page where you want to redirect your customers. | |
// You can use absolute or relative addresses, e.g. 'index.html', 'http://google.com' | |
var continueShoppingRedirect = "#!/~/category/id=0"; | |
// Delay (ms), which is necessary for the empty cart page to appear after onCartChange event firing | |
var empty_cart_page_delay = 500; | |
// Continue shopping buttons CSS selectors |