I hereby claim:
- I am warengonzaga on github.
- I am warengonzaga (https://keybase.io/warengonzaga) on keybase.
- I have a public key ASCbM3a16TPIOtOhQj0UF3Hf2qBqZt21ZJbfMh_tBgBWzgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function defer_parsing_of_js( $url ) { | |
| if ( is_user_logged_in() ) return $url; //don't break WP Admin | |
| if ( FALSE === strpos( $url, '.js' ) ) return $url; | |
| if ( strpos( $url, 'jquery.js' ) ) return $url; | |
| return str_replace( ' src', ' defer src', $url ); | |
| } | |
| add_filter( 'script_loader_tag', 'defer_parsing_of_js', 10 ); |
Keep Your Forked Repository Up to Date!
Useful Git Commands
git remote add upstream git://github.com/original-developer/original-repository.git
git fetch upstream
| /* Smartphones (portrait and landscape) ----------- */ | |
| @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
| /* Styles */ | |
| } | |
| /* Smartphones (landscape) ----------- */ | |
| @media only screen and (min-width : 321px) { | |
| /* Styles */ | |
| } |
| add_action( 'init', 'custom_remove_footer_credit', 10 ); | |
| function custom_remove_footer_credit () { | |
| remove_action( 'storefront_footer', 'storefront_credit', 20 ); | |
| add_action( 'storefront_footer', 'custom_storefront_credit', 20 ); | |
| } | |
| function custom_storefront_credit() { | |
| ?> | |
| <div class="site-info"> |
| /** | |
| * Waren's LED Music Visualizer (Project W.L.E.D.M.V) | |
| * by Waren Gonzaga | |
| * Version: 1.0.1 | |
| * | |
| * An Arduino project that translates the sound into lights. | |
| * Check this project on Instructables.com | |
| * Link: https://www.instructables.com/id/Warens-LED-Music-Visualizer | |
| * | |
| * Contribute to improve this project on gist! |
| /** | |
| * Electronic Ultrasonic Emitter (Project E.U.E) - Basic Version | |
| * by Waren Gonzaga | |
| * Version: 1.0.6 | |
| * | |
| * A simple project that emits ultrasonic waves and possible to repel mosquiotoes. | |
| * Check this project on Instructables.com | |
| * Link: https://www.instructables.com/id/Electronic-Ultrasonic-Emitter-Basic-Version/ | |
| * | |
| * Contribute to improve this project on gist! |
| /** | |
| * Electronic Matrix — I Love You (Project E.M.I.L.Y) | |
| * by Waren Gonzaga | |
| * Version: 1.0.6 | |
| * | |
| * A velentine project for saying I Love You! | |
| * Check this project on Instructables.com | |
| * Link: https://www.instructables.com/id/Electronic-Matrix-I-Love-You | |
| * | |
| * Contribute to improve this project on gist! |
| !!! | |
| %html.no-js{:lang => ""} | |
| %head | |
| %meta{:charset => "utf-8"}/ | |
| %meta{:content => "ie=edge", "http-equiv" => "x-ua-compatible"}/ | |
| %title | |
| %meta{:content => "", :name => "description"}/ | |
| %meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/ | |
| %link{:href => "apple-touch-icon.png", :rel => "apple-touch-icon"}/ | |
| / Place favicon.ico in the root directory |
| doctype html | |
| html.no-js(lang='') | |
| head | |
| meta(charset='utf-8') | |
| meta(http-equiv='x-ua-compatible', content='ie=edge') | |
| title | |
| meta(name='description', content='') | |
| meta(name='viewport', content='width=device-width, initial-scale=1') | |
| link(rel='apple-touch-icon', href='apple-touch-icon.png') | |
| // Place favicon.ico in the root directory |