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
body { | |
color: $color__text-main; | |
font-family: $font__body; | |
font-size: $font__size-md; | |
@media screen and (min-width: 599px) { | |
font-size: $font__size_base; | |
} | |
} |
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
.wp-block { | |
max-width: $content__width; | |
&[data-align="wide"] { | |
max-width: $content__width--wide; | |
} | |
&[data-align="full"] { | |
max-width: 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
/** | |
* Sets up theme defaults and registers support for various WordPress features. | |
*/ | |
function tabor_setup() { | |
// Add support for editor styles. | |
add_theme_support( 'editor-styles' ); | |
// Enqueue editor styles. | |
add_editor_style( 'assets/css/style-editor.css' ); | |
} |
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
/** | |
* Sets up theme defaults and registers support for various WordPress features. | |
*/ | |
function tabor_setup() { | |
// Add support for editor styles. | |
add_theme_support( 'editor-styles' ); | |
} | |
add_action( 'after_setup_theme', 'tabor_setup' ); |
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
<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-127143502-1"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('config', 'UA-127143502-1'); | |
</script> |
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
.entry-content > *.alignwide { | |
max-width: 1024px; | |
} |
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
Praesent commodo cursus magna, vel scelerisque nisl consectetur 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 | |
/** | |
* Toggle Customizer Control | |
*/ | |
// Exit if accessed directly. | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; | |
} |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Permissions1", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:HeadBucket", | |
"polly:SynthesizeSpeech", | |
"polly:DescribeVoices" |
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
if ( ! function_exists( 'tabor_site_logo' ) ) : | |
/** | |
* Output an <img> tag of the site logo. | |
*/ | |
function tabor_site_logo() { | |
if ( has_custom_logo() ) { | |
echo '<div class="site-logo" itemscope itemtype="http://schema.org/Organization">'; | |
the_custom_logo(); | |
echo '</div>'; |