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 | |
/** | |
* Get News posts. | |
* | |
* This is from a tutorial found here: | |
* @link https://johnregan3.wordpress.com/how-to-improve-wordpress-load-times-using-transients | |
* | |
* @since 1.0.0 | |
* @uses jr3_news_query | |
* |
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
/* Custom Editor Styles */ | |
/* | |
* With some edits, this can be used as a base for your Custom Editor Styles. | |
* Note that this is for demonstration purposes only, and some elements may not | |
* be covered here. | |
*/ | |
/* Approximate the theme width, except for full-width images. */ | |
.wp-block:not( '.editor-block-list__block["data=full"]' ) { |
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
.alignwide { | |
/* Set these margins to work with your own theme. */ | |
margin-left: -80px; | |
margin-right: -80px; | |
max-width: 100vw; | |
} | |
.alignfull { | |
margin-left: calc(-100vw / 2 + 100% / 2); | |
margin-right: calc(-100vw / 2 + 100% / 2); |