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_action('woocommerce_after_subcategory_title', 'ou_display_category_description_link', 10, 1); | |
function ou_display_category_description_link( $category ) { | |
/** | |
* Returning early if it is not a home page | |
* You will change the condition logic based on your template settings | |
*/ | |
if( ! is_front_page() ) | |
return; |
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
jQuery(document).ready(function($){ | |
//* #ff_10_value_1,#ff_10_value_2 are input field ID. | |
$('#ff_10_value_1,#ff_10_value_2').on('keyup blur', function(){ | |
var value = $('#ff_10_sum_ff').val(); | |
//* #ff_10_sum_ff is the calcualtion field ID where value is showing | |
$('#ff_10_sum_ff').val( numberFormat(value, 2, '.', ',') ); | |
}); | |
}); | |
function numberFormat (number, decimal_pos, decimal_sep, thousand_sep) { |
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
.fluent_form_18 .ff-el-form-check-label { | |
display: none; | |
} | |
.fluent_form_18 .ff-el-image-holder { | |
border: 2px solid #f8f8f8; | |
padding: 5px 5px 0; | |
} | |
.fluent_form_18 .ff-el-image-holder.ff_item_selected { |
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
.ff_t_c, | |
.ff_gdpr_field { | |
vertical-align: top!important; | |
} |
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 //* Remove this line | |
add_filter( 'genesis_get_image', 'gd_category_post_image', 10, 6 ); | |
/** | |
* Replacing the featured image with any other internal image of post | |
* if there have more than one image and not set as featured image | |
* | |
* @author Chinmoy Paul | |
* @copyright Copyright (c) 2017, Genesis Developer | |
* @license GPL 3.0+ |
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 | |
//* Do not add PHP opening tag. Copy the code below this line | |
add_action( 'genesis_header', 'elegance_header_wrapper_open', 4 ); | |
function elegance_header_wrapper_open() { | |
if( !is_front_page() ) | |
return; | |
echo '<div class="site-header-container"><div class="wrap">' . "\n"; | |
} |