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
function custom_filter_shop_layout( $layout_id ) { | |
if ( is_post_type_archive('product') || is_singular( 'product' )) | |
return '5229da61e6097'; | |
return $layout_id; | |
} | |
add_filter( 'builder_filter_current_layout', 'custom_filter_shop_layout' ); |
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
ul.products img{ | |
-webkit-transition:all .5s ease-out !important; /*Webkit: Scale down image to 0.8x original size*/ | |
-moz-transition:all .5s ease-out !important; /*Mozilla scale version*/ | |
-o-transition:all .5s ease-out !important; /*Opera scale version*/ | |
transition:all .5s ease-out !important; | |
-webkit-backface-visibility: hidden; | |
} | |
img.attachment-shop_catalog.wp-post-image:hover { | |
-webkit-transform:scale(2); /*Webkit: Scale up image to 1.2x original size*/ |
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
//Add to funtctions.php file | |
//Adding Sales reps to the check out | |
add_action('woocommerce_after_order_notes', 'jmg_custom_checkout_field'); | |
function jmg_custom_checkout_field( $checkout ) { | |
echo '<div id="my_custom_checkout_field"><h2>'.__('Who Is Your EdiPure Sales Rep?').'</h2>'; | |
woocommerce_form_field( 'edipure_reps', array( | |
'type' => 'select', |
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
/* Place after define('WP-DBUG', false);*/ | |
define('FORCE_SSL_ADMIN', true); //will force login thru SSL https://entire site: goto general settings add https:// | |
//define('ALTERNATE_WP_CRON', true); //posts not getting published? redirect cron | |
//define('DISALLOW_FILE_EDIT', true); //will disable WP editor | |
//define('DISALLOW_FILE_MODS', true); //disables add/delete theme & plugins | |
define('WP_CASHE', true); //wp default cashe. | |
//define('WP_POST_REVISIONS', 4); //limits revisions false to turn off | |
//define('AUTOSAVE_INTERVAL', 240); //minutes | |
//define( 'WP_SITEURL', 'https://jmgmarketinggroup.com' ); //hard code into gen settings | |
//define( 'WP_HOME', 'https://jmgmarketinggroup.com' ); |
NewerOlder