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 | |
| /** | |
| * Index Template | |
| * | |
| * Here we setup all logic and XHTML that is required for the index template, used as both the homepage | |
| * and as a fallback template, if a more appropriate template file doesn't exist for a specific context. | |
| * | |
| * @package WooFramework | |
| * @subpackage Template | |
| */ |
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 (min-width: 768px) { | |
| .widget_woothemes_testimonials .quote.last { | |
| margin-right: 0 !important; | |
| } | |
| .widget_woothemes_testimonials .quote:nth-child(3n+1) { | |
| clear: none; | |
| } | |
| .widget_woothemes_testimonials .quote:nth-child(3n+3) { | |
| margin-right: 3% !important; | |
| clear: none; |
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
| /* | |
| * Hide "Products" in WooCommerce breadcrumb, display 'E-store' on shop page | |
| */ | |
| function woo_custom_filter_breadcrumbs_trail ( $trail ) { | |
| foreach ( $trail as $k => $v ) { | |
| if ( strtolower( strip_tags( $v ) ) == 'products' ) { | |
| if(is_shop()) { $trail[$k] = 'E-Store'; break; } | |
| unset( $trail[$k] ); |
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( 'woo_blog_template_query_args', 'woo_exclude_slide_tag_blogtemplate' ); | |
| function woo_exclude_slide_tag_blogtemplate ( $args ) { | |
| $settings = array( | |
| 'featured_slide_group' => '0' | |
| ); | |
| $settings = woo_get_dynamic_values( $settings ); | |
| // Process the category data and convert all categories to IDs. |
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( 'woo_post_more', 'woo_testimonial_meta_categories', 20, 1); | |
| function woo_testimonial_meta_categories($html) { | |
| if( is_archive('testimonials') ) { | |
| $html = ""; | |
| $terms = get_the_terms( get_the_ID(), 'testimonial-category' ); | |
| $cats = ''; | |
| if ( is_array( $terms ) && 0 < count( $terms ) ) { |
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
| /* Blue border above logo*/ | |
| #header #logo { | |
| border-top: 5px solid #2293e2; | |
| } | |
| /* Red border above navigation items*/ | |
| #navigation ul.nav > li.current_page_item a, #navigation ul.nav > li.current_page_parent a, #navigation ul.nav > li.current-menu-ancestor a, #navigation ul.nav > li.current-cat a, #navigation ul.nav > li.li.current-menu-item a { | |
| border-top: 5px solid #de1e1e; | |
| } | |
| /* Red border above and below navigation sub-menus*/ | |
| #navigation ul.nav ul { |
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
| function woo_custom_typography() { | |
| // Get options | |
| global $woo_options; | |
| // Reset | |
| $output = ''; | |
| $default_google_font = false; | |
| // Type Check for 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
| @media only screen and (max-width: 767px) { | |
| #loopedSlider.business-slider img.woo-image { | |
| margin-left: -550px; | |
| } | |
| } |
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: 767px) { | |
| #loopedSlider.business-slider img.woo-image { | |
| position: absolute; | |
| left: -550px; | |
| } | |
| #wrapper #loopedSlider.business-slider .content { | |
| margin-top: 500px; | |
| } | |
| } |
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_filter( 'woothemes_testimonials_args', 'woo_customise_testimonials', 10 ); |