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
| @media only screen and (max-width: 48em) { | |
| /*************** ADD MOBILE ONLY CSS HERE ***************/ | |
| } | |
| /*GRAVUR*/ | |
| @font-face {font-family:"NK_Monotype Corsiva";src:url("../../../wp-content/themes/flatsome-child/fonts/NK_Mono.eot?") format("eot"),url("../../../wp-content/themes/flatsome-child/fonts/NK_Mono.woff") format("woff"),url("../../../wp-content/themes/flatsome-child/fonts/NK_Mono.ttf") format("truetype"),url("../../../wp-content/themes/flatsome-child/fonts/NK_Mono.svg#NK_MonotypeCorsiva") format("svg");font-weight:normal;font-style:normal;} |
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 | |
| // Logout without confirmation. | |
| function iconic_bypass_logout_confirmation() { | |
| global $wp; | |
| if ( isset( $wp->query_vars['customer-logout'] ) ) { | |
| wp_redirect( str_replace( '&', '&', wp_logout_url( wc_get_page_permalink( 'myaccount' ) ) ) ); | |
| exit; | |
| } | |
| } | |
| add_action( 'template_redirect', 'iconic_bypass_logout_confirmation' ); |
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 | |
| /* Add Add to Cart After */ | |
| function support_flatsome_woocommerce_shop_loop_button(){ | |
| if(flatsome_option('add_to_cart_icon') !== "button") return; | |
| global $product; | |
| $lists = array(); |
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
| [vc_row row_width="container"][vc_column el_class="css-faq-content"][vc_tta_accordion style="modern" shape="square" color="white" active_section="1" title="Retail"][vc_tta_section title="Why i will purchase Sink theme to build my project?" tab_id="1442728431553-60c1865d-4494"][vc_column_text]Minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim.[/vc_column_text][/vc_tta_section][vc_tta_section title="How to install or modify this theme?" tab_id="1442728431792-608d31d6-0884"][vc_column_text]Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et |
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 | |
| add_filter('gettext', 'translate_text'); | |
| add_filter('ngettext', 'translate_text'); | |
| function translate_text($translated) { |
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
| /* iPhone 6 in portrait & landscape */ | |
| @media only screen | |
| and (min-device-width : 375px) | |
| and (max-device-width : 667px) { /* STYLES GO HERE */} | |
| /* iPhone 6 in landscape */ | |
| @media only screen | |
| and (min-device-width : 375px) | |
| and (max-device-width : 667px) | |
| and (orientation : landscape) { /* STYLES GO HERE */} |
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
| [row] | |
| [col span="6" span__sm="12"] | |
| [ux_product_gallery] | |
| [/col] | |
| [col span="6" span__sm="12"] |
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( 'the_title', 'shorten_woo_product_title', 10, 2 ); | |
| function shorten_woo_product_title( $title, $id ) { | |
| if ( is_shop() && get_post_type( $id ) === 'product' ) { | |
| return substr( $title, 0, 15 ); // change last number to the number of characters you want | |
| } else { | |
| return $title; | |
| } | |
| } |
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 | |
| function remove_woocommerce_process_registration() { | |
| remove_action('init', 'woocommerce_process_registration'); | |
| } | |
| add_action('init','remove_woocommerce_process_registration'); | |
| add_action( 'init', 'my_process_registration' ); |
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('wp', function(){ | |
| remove_action( 'flatsome_category_title_alt', 'woocommerce_result_count', 20 ); | |
| remove_action( 'flatsome_category_title_alt', 'woocommerce_catalog_ordering', 30 ); | |
| remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); | |
| }); |