- I did a thing : https://www.youtube.com/c/Ididathing
- James Bruton : https://www.youtube.com/c/jamesbruton
- GreatScott : https://www.youtube.com/c/greatscottlab
- Peter Sripol : https://www.youtube.com/c/PeterSripol
- Zack Freedman : https://www.youtube.com/c/ZackFreedman
- The Crafs Man Show : https://www.youtube.com/c/TheCrafsMan (brooke might like this one)
- Tom Staton : https://www.youtube.com/c/TomStantonEngineering
- Colin Furze : https://www.youtube.com/c/colinfurze
- This Old Tony : https://www.youtube.com/c/ThisOldTony
- Skyentific : https://www.youtube.com/c/Skyentific
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
<?php | |
// Yoink: https://www.wpbeginner.com/wp-tutorials/how-to-disable-the-search-feature-in-wordpress/ | |
// Tested on WordPress: 5.9.3 | |
// PHP: 8.0 | |
/* | |
Instead of going to a search page, show 404 instead | |
*/ | |
function wpb_filter_query( $query, $error = true ) { | |
if ( is_search() ) { |
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
// Yoink: https://www.javascripttutorial.net/web-apis/javascript-formdata/ | |
const btn = document.querySelector('#submit-btn-id'); | |
const form = document.querySelector('#my-form-id'); | |
btn.addEventListener('click', (e) => { | |
// prevent the form from submitting | |
// or uncomment the debugger statment below for a breakpoint | |
// if needing to also send the data for testing | |
e.preventDefault(); |
- Watch and follow along with at least the first 5 videos of this playlist
- At least the first 13 videos of this playlist
- Frameworks pick one and stick to it. ONLY after you get a solid foundation in vanilla JS above.
OlderNewer