View template.txt
This file contains 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
<!-- wp:group {"align":"full","style":{"border":{"width":"px"}},"layout":{"inherit":false}} --> | |
<div class="wp-block-group alignfull" style="border-width:px"><!-- wp:columns {"align":"wide"} --> | |
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"25%","style":{"spacing":{"padding":{"top":"1em","right":"1em","bottom":"1em","left":"1em"}}}} --> | |
<div class="wp-block-column" style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;flex-basis:25%"><!-- wp:group {"align":"full"} --> | |
<div class="wp-block-group alignfull"><!-- wp:image {"align":"center","id":68,"width":75,"height":75,"sizeSlug":"thumbnail","linkDestination":"none","className":"is-style-rounded"} --> | |
<div class="wp-block-image is-style-rounded"><figure class="aligncenter size-thumbnail is-resized"><img src="https://dotcomfsepatterns.files.wordpress.com/2021/03/pattern-woman.jpg?w=150" alt="" class="wp-image-68" width="75" height="75"/></figure></div> | |
<!-- /wp:image --> | |
<!-- wp:site-title {"textAlign":"center","style": |
View logo.css
This file contains 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
.site-logo { | |
grid-area: site-title !important; | |
} | |
@media only screen and (min-width: 560px) { | |
.site-header .site-title { | |
align-self: center !important; | |
margin-left: 100px; | |
} | |
} |
View covid-notice.css
This file contains 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
.covid-menu { | |
background-color: yellow; | |
} | |
.covid-menu a { | |
color: black !important; | |
} |
View woocommerce.php
This file contains 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 | |
/** | |
* Workaround to prevent is_shop() from failing due to WordPress core issue | |
* | |
* @link https://core.trac.wordpress.org/ticket/21790 | |
* @param array $args infinite scroll args. | |
* @return array infinite scroll args. | |
*/ | |
function _s_woocommerce_is_shop_page() { | |
global $wp_query; |
View functions.php
This file contains 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 | |
/** | |
* Custom render function for Infinite Scroll. | |
*/ | |
function _s_infinite_scroll_render() { | |
if ( class_exists( 'WooCommerce' ) && ( is_shop() || is_product_taxonomy() || is_product_category() || is_product_tag() ) ) { | |
_s_woocommerce_product_columns_wrapper(); | |
woocommerce_product_loop_start(); | |
} |
View featured-slider.js
This file contains 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( window ).load( function() { | |
if ( 'true' == woo_localized_data.slideshow ) { woo_localized_data.slideshow = true; } else { woo_localized_data.slideshow = false; } | |
if ( 'true' == woo_localized_data.directionNav ) { woo_localized_data.directionNav = true; } else { woo_localized_data.directionNav = false; } | |
if ( 'true' == woo_localized_data.controlNav ) { woo_localized_data.controlNav = true; } else { woo_localized_data.controlNav = false; } | |
if ( 'true' == woo_localized_data.pauseOnHover ) { woo_localized_data.pauseOnHover = true; } else { woo_localized_data.pauseOnHover = false; } | |
if ( 'true' == woo_localized_data.pauseOnAction ) { woo_localized_data.pauseOnAction = true; } else { woo_localized_data.pauseOnAction = false; } | |
if ( 'true' == woo_localized_data.touch ) { woo_localized_data.touch = true; } else { woo_localized_data.touch = false; } | |
if ( 'true' == woo_localized_data.smoothHeight ) { woo_localized_data.smoothHeight = true; } else { woo_localized_data.smoothHeight = f |
View wooimage-override.php
This file contains 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 | |
/* | |
Plugin Name: woo_image Override | |
Plugin URI: http://woothemes.com | |
Description: Override for the woo_image() function in the WooFramework. This will force the active theme to use native WordPress functions for image handling. | |
Author: Jeffikus | |
Version: 1.0.0 | |
Author URI: http://woothemes.com | |
*/ |
View gist:b73ea70380ad6c29aed8241c726bb5d5
This file contains 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 _rsp_disable_jetpack_infinite_scroll_conditionally() { | |
if ( true === is_woocommerce() ) { | |
remove_theme_support( 'infinite-scroll' ); | |
} | |
} | |
add_action( 'template_redirect', '_rsp_disable_jetpack_infinite_scroll_conditionally', 9 ); |
View testimonials.css
This file contains 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
/** | |
* Integration styles | |
*/ | |
@-webkit-keyframes spin-360 { | |
from { | |
-webkit-transform: rotate(0); | |
-moz-transform: rotate(0); | |
-ms-transform: rotate(0); | |
-o-transform: rotate(0); | |
transform: rotate(0); |
View markup.php
This file contains 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
<li id="slide-5261" class="slide slide-number-1 flex-active-slide" style="width: 100%; float: left; margin-right: -100%; position: relative; opacity: 1; display: block; z-index: 2;"> | |
<section class="entry col-full"> | |
<p>This is a custom post type slide. Aliquam erat volutpat. Vivamus eget mi velit, sed convallis tellus. Suspendisse sit amet lacinia nisl. Nam tempus mi sed odio fringilla bibendum. Vivamus nisl ipsum, imperdiet eu euismod a, tincidunt aliquam leo. Praesent dolor est, dignissim id placerat id, cursus id diam.</p> | |
</section> | |
</li> |
NewerOlder