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
| // This goes into the function.php | |
| // Disables the block editor from managing widgets in the Gutenberg plugin. | |
| add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' ); | |
| // Disables the block editor from managing widgets. | |
| add_filter( 'use_widgets_block_editor', '__return_false' ); |
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
| .container (parent of items) { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100%; | |
| } |
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
| Sitemap: https://[YOUR-DOMAIN]/sitemap.xml | |
| User-agent: * | |
| Disallow: /wp-admin/ | |
| Allow: /wp-admin/admin-ajax.php |
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
| @mixin vertical-align { | |
| margin: 0; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| margin-right: -50%; | |
| transform: translate(-50%, -50%) | |
| } |
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
| @mixin transition($duration) { | |
| -webkit-transition: all $duration ease-in-out; | |
| -moz-transition: all $duration ease-in-out; | |
| -o-transition: all $duration ease-in-out; | |
| -ms-transition: all $duration ease-in-out; | |
| transition: all $duration ease-in-out; | |
| } |
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
| @mixin filter($filter-type,$filter-amount) { | |
| -webkit-filter: $filter-type+unquote('(#{$filter-amount})'); | |
| -moz-filter: $filter-type+unquote('(#{$filter-amount})'); | |
| -ms-filter: $filter-type+unquote('(#{$filter-amount})'); | |
| -o-filter: $filter-type+unquote('(#{$filter-amount})'); | |
| filter: $filter-type+unquote('(#{$filter-amount})'); | |
| } |