View feather-icons-css.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
.feather { | |
width: 60px; | |
height: 60px; | |
fill: transparent; | |
stroke: #333333; | |
stroke-width: .65px; | |
} |
View add-the-icon.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
<i data-feather="circle"></i> |
View feather-icons-cdn.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
<script src="https://unpkg.com/feather-icons"></script> | |
<script> | |
feather.replace() | |
</script> |
View search-form-under-entry-title-genesis.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
//* STEP #1: ADD EXCERPT SUPPORT TO PAGES | |
add_post_type_support( 'page', 'excerpt' ); | |
//* Output Excerpt on Pages | |
add_action( 'genesis_meta', 'lwp_page_description_meta' ); | |
//* STEP #2: REPLACE DEFAULT ENTRY HEADER WITH EXCERPT | |
function lwp_page_description_meta() { | |
//* If it's a singular page, apply page description |
View insert-html-line-awesome.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
<i class="fa fa-check fa-3x"></i> | |
<i class="fa fa-check fa-6x"></i> | |
<i class="fa fa-angle-double-down fa-8x"></i> | |
<i class="fa fa-angle-double-down fa-10x"></i> |
View enqueue-line-awesome-script-genesis.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_enqueue_style( 'line-awesome', '//maxst.icons8.com/vue-static/landings/line-awesome/font-awesome-line-awesome/css/all.min.css' ); |
View reposition-post-info-conditionally.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
//* Re-position Post Info Condtionally | |
add_action( 'genesis_entry_header', 'conditional_reposition' ); | |
function conditional_reposition() { | |
if ( is_front_page() || is_archive() ) : | |
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); | |
add_action( 'genesis_entry_footer', 'genesis_post_info', 10 ); | |
View particle-js-json-default-code.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
particlesJS('particlesbg', | |
{ | |
"particles": { | |
"number": { | |
"value": 80, | |
"density": { | |
"enable": true, | |
"value_area": 800 | |
} |
View front-page-hero-particle-js-background.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
//* Full Width Hero Background with ParticleJS Pattern on Front Page | |
//* Add Excerpt support to Pages in Genesis (Optional) | |
add_post_type_support( 'page', 'excerpt' ); | |
//* Display Page Title and Page Excerpt (as Subtitle) after Header | |
add_action( 'genesis_header', 'blog_archive_remove_page_title'); | |
function blog_archive_remove_page_title () { | |
if (is_front_page()) { |
View tampermonkey-script-gmail.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
// ==UserScript== | |
// @name Gmail Font Type and Size | |
// @include https://mail.google.com/mail* | |
// @description Set Gmail font to classic view | |
// @version 1.0 | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function addGlobalStyle(css) { |
NewerOlder