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
| @import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900'); | |
| body {font-family: 'Lato', sans-serif; color: #878787; font-weight: 400; overflow-x: hidden;} | |
| .products-list {display: flex;} | |
| .products-list .single-product {padding-bottom: 40px; width: 33%;} | |
| .products-list .single-product .product-content {text-align: center; border: 1px solid #702424; cursor: pointer; position: relative; background: #fff;} | |
| .products-list .single-product .product-content:before, | |
| .products-list .single-product .product-content:after {-webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; -ms-transition: all 0.25s ease-in-out; -o-transition: all 0.25s ease-in-out; transition: all 0.25s ease-in-out; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-width: 6px; margin-left: -6px;} | |
| .products-list .single-product .product-content:before {top: 100%; border-color: rgba(255, 255, 255, 0); border-top-color: #fff;} | |
| .products-list .single-product .product-conte |
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 | |
| // Flush rewrite rules after switch theme | |
| function my_rewrite_flush() { | |
| flush_rewrite_rules(); | |
| } | |
| add_action( 'after_switch_theme', 'my_rewrite_flush' ); | |
| // A little help so we can get the stylesheet from parent theme | |
| // Remove line 10-19 if this is not a child theme | |
| function my_enqueue_styles() { |
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 | |
| /* | |
| * Loop through Categories and Display Posts within | |
| */ | |
| $post_type = 'features'; | |
| // Get all the taxonomies for this post type | |
| $taxonomies = get_object_taxonomies( array( 'post_type' => $post_type ) ); | |
| foreach( $taxonomies as $taxonomy ) : |