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
:root { | |
--c-white: #ffffff; | |
--c-purple-700: #5052ac; | |
--c-purple-500: #7679e4; | |
--c-purple-400: #8085ee; | |
--c-grey-900: #0a0a0a; | |
--c-grey-800: #141414; | |
--c-grey-700: #1f1f1f; | |
--c-grey-600: #292929; | |
--c-grey-500: #2b2b3e; |
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
@use 'sass:meta'; | |
@use 'sass:map'; | |
@use 'sass:string'; | |
$color-palette: ( | |
rose: ( | |
'050': #fcf5f6, | |
'100': #f8e3e6, | |
'200': #f1c7cd, | |
'300': #eaa7b0, |
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
@use 'sass:meta'; | |
@use 'sass:map'; | |
@use 'sass:string'; | |
$color-palette: ( | |
rose: ( | |
'050': #fcf5f6, | |
'100': #f8e3e6, | |
'200': #f1c7cd, | |
'300': #eaa7b0, |
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
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.github.io | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.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 | |
// add the below to your functions file | |
// then visit the page that you want to see | |
// the enqueued scripts and stylesheets for | |
function se_inspect_styles() { | |
global $wp_styles; | |
echo "<h2>Enqueued CSS Stylesheets</h2><ul>"; | |
foreach( $wp_styles->queue as $handle ) : | |
echo "<li>" . $handle . "</li>"; |
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
CULTURE SPEC.CULTURE ENGLISH NAME | |
-------------------------------------------------------------- | |
Invariant Language (Invariant Country) | |
af af-ZA Afrikaans | |
af-ZA af-ZA Afrikaans (South Africa) | |
ar ar-SA Arabic | |
ar-AE ar-AE Arabic (U.A.E.) | |
ar-BH ar-BH Arabic (Bahrain) | |
ar-DZ ar-DZ Arabic (Algeria) | |
ar-EG ar-EG Arabic (Egypt) |
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
/* | |
Automatically expand the 'Show more' button on the 'Video details' page for YouTube videos | |
Adapted from: https://stackoverflow.com/a/29754070/493159 | |
2021.04.28 | |
*/ | |
// Call the below function | |
waitForElementToDisplay("#toggle-button", function () { | |
document.getElementById("toggle-button").click(); | |
}, 1000, 9000); |