This file contains 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
/* | |
this following code is for making iframes responsive | |
*/ | |
.intrinsic-container { | |
position: relative; | |
height: 0; | |
overflow: hidden; | |
} | |
/* 16x9 Aspect Ratio */ |
This file contains 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 webroom_woocommerce_coupon_links(){ | |
// Bail if WooCommerce or sessions aren't available. | |
if (!function_exists('WC') || !WC()->session) { | |
return; | |
} | |
/** | |
* Filter the coupon code query variable name. |
This file contains 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
Facilitator Name: [wpv-post-title item="@faciliator-event.parent"] | |
Venue Description: [wpv-post-body view_template="None" item="@faciliator-event.parent"] | |
Facilitator Featured Image: [wpv-post-featured-image item="@facilitator-event.parent"] | |
Venue Title: [wpv-post-title item="@venue-event.parent"] | |
Venue Description: [wpv-post-body view_template="None" item="@venue-event.parent"] | |
Venue Address: [types field='address' item='@venue-event.parent'][/types] | |
Venue Map Embed: [types field='address' item='@venue-event.parent'][/types] |
This file contains 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 | |
/** | |
* Auto Complete all WooCommerce orders. | |
*/ | |
add_action( 'woocommerce_thankyou', 'custom_woocommerce_auto_complete_order' ); | |
function custom_woocommerce_auto_complete_order( $order_id ) { | |
if ( ! $order_id ) { | |
return; | |
} |