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
| <script> | |
| (function($){ | |
| $(document).on('click', 'button.close', function(e){ | |
| e.preventDefault(); | |
| window.location.hash = ''; | |
| }); | |
| $(window).on('hashchange', function(){ | |
| $('#update_passport, #uploader, #register, #login, #challenge_login, #challenge_uploader').removeClass('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
| //team showcase | |
| $(document).unbind("click").on("click", ".tshowcase-box", function (event) { | |
| $this = $(this); | |
| $this.siblings().removeClass('active'); | |
| $('.person-content-wrap').hide(); | |
| $this.toggleClass('active'); | |
| var url = $(this).find('a').attr('href'); //get url | |
| var new_url = url.substring(0, url.indexOf(' ')); //substirng url | |
| //get person content |
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 generator version number | |
| @package premiumtheme | |
| */ | |
| /** |
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 if( is_singular() && pings_open( get_queried_object() ) ): ?> | |
| <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> | |
| <?php endif; ?> |
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
| remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10); | |
| remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10); | |
| function my_theme_wrapper_start() { | |
| echo '<div id="primary" class="content-area">'; | |
| echo '<main id="main" class="site-main" role="main">'; | |
| } | |
| function my_theme_wrapper_end() { |
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
| remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 ); | |
| remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5 ); |
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
| remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); | |
| add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_add_to_cart', 30 ); |
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_filter( 'woocommerce_currencies', 'add_my_currency' ); | |
| function add_my_currency( $currencies ) { | |
| $currencies['RSD'] = __( 'Currency name', 'woocommerce' ); | |
| return $currencies; | |
| } | |
| add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2); | |
| function add_my_currency_symbol( $currency_symbol, $currency ) { |