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 | |
// Unhook default Crumina functions | |
function unhook_crumina_functions() { | |
remove_filter( 'woocommerce_product_tabs', 'crum_remove_product_tabs', 98 ); | |
} | |
add_action( 'init', 'unhook_crumina_functions' ); |
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 () { | |
setTimeout(function() { | |
if (window.location.hash) { | |
jQuery('.accordion dd > a').each(function () { | |
var current = jQuery(this).parents('.accordion'); | |
var hash = '#' + jQuery(this).attr('href').split('#')[1]; | |
if (hash == window.location.hash) { | |
current.find('dd').removeClass('active'); | |
current.find('.content').hide(); | |
jQuery(this).parent().addClass('active'); |
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
/** | |
* Stunning header | |
* in header.php | |
* | |
* @since 1.0.0 | |
*/ | |
function frontpage_st_header () | |
{ | |
if (is_page_template('page-templates/fullwidth-page.php') ): |
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
/** | |
* Custom shortcode on all pages | |
* in header.php | |
* | |
* @since 1.0.0 | |
*/ | |
function shortcode_after_header () | |
{ |
OlderNewer