How To Use Code Snippets Without A Plugin In Wordpress

  Рет қаралды 11,932

WordPress Tutorials - WPLearningLab

WordPress Tutorials - WPLearningLab

Күн бұрын

Пікірлер: 48
@wplearninglab
@wplearninglab 4 жыл бұрын
If you want to replace more plugins on your site with simple code, check out my plugin killer playlist: kzbin.info/www/bejne/fZfNfKZnm6h1pqs
@NirajKumar-zc8ny
@NirajKumar-zc8ny 3 жыл бұрын
Simply Awesome! Love your work. I've never seen such kind of tutorials on youtube.
@NirajKumar-zc8ny
@NirajKumar-zc8ny 3 жыл бұрын
What a great Work my dear friend. Good for developers and those who knows some coding!
@jerrychan1471
@jerrychan1471 3 жыл бұрын
Fantastic tips, most fun I've had in years!
@felixrivera9298
@felixrivera9298 4 жыл бұрын
I love what you do! This one is very confusing. I will check out your post on the killer playlist, that should clear up my confusion. Thank you!
@wplearninglab
@wplearninglab 4 жыл бұрын
Hi Felix, Can you point to a specific part that is confusing? Any time code in the functions file is involved, things can get tricky. If you're not comfortable with code you can use plugins to add snippets to your site. With this tutorial series I'm not saying "never use plugins." I'm just saying "avoid them if you can" :)
@rabbits_moon
@rabbits_moon 4 жыл бұрын
Thank you! This really helped me get started.
@marknasri1201
@marknasri1201 4 жыл бұрын
thanks for giving so much, god bless u
@wplearninglab
@wplearninglab 4 жыл бұрын
I do my best, thanks for watching Mark :)
@hefalump56
@hefalump56 Жыл бұрын
Thanks Bjorn, this was exactly what I needed to help me position my javascript snippets without bloating the functions.php . I am guessing I would do something similar and call my PHP snippets instead filling the functions.php with them too?
@wplearninglab
@wplearninglab Жыл бұрын
Sweet, I'm happy I could help! If you don't have too many PHP snippets (less than 10) I would put them directly into the functions.php file. If you have lots you can call them from the functions.php file.
@marknasri1201
@marknasri1201 4 жыл бұрын
thanks, great to the point.
@wplearninglab
@wplearninglab 4 жыл бұрын
You're welcome Mark, thanks for watching! Let me know if you have any questions :)
@b01lion79
@b01lion79 4 жыл бұрын
Thank you very much.
@wplearninglab
@wplearninglab 4 жыл бұрын
You're welcome Zaki, thanks for watching! Let me know if you have any questions :)
@NoisyBoyMotoAdventures
@NoisyBoyMotoAdventures 2 жыл бұрын
Is there a way i could addon some file converter to my site using the same method..Please make some video on it. Example. PDF to Word or some sort of it.
@miguel213
@miguel213 4 жыл бұрын
This is a big one... Replacing the "plugin replacer" plugin. What else do you have under your sleeve, Bjorn? Love this series.
@wplearninglab
@wplearninglab 4 жыл бұрын
Hi Miguel, haha, I never thought of it as "replacing the 'plugin replacer' plugin". I wish I was that witty! I have a few more gems coming down the pipeline, stay tuned!
@johnlyons7678
@johnlyons7678 2 жыл бұрын
Will this work with php files as well as javascript?
@barsk76
@barsk76 4 жыл бұрын
Where is the link Bjorn??
@wplearninglab
@wplearninglab 4 жыл бұрын
Great question! If I had a nickel for every time I forgot a link in a video description... Here it is: wplearninglab.com/add-snippets-to-wordpress-without-a-plugin/
@barsk76
@barsk76 4 жыл бұрын
@@wplearninglab Bjor thank you very much for the link. At your next episode; Can you show "how to implement google tag manager without plugin"? Thanks in advance.
@wplearninglab
@wplearninglab 4 жыл бұрын
Hi Baris, I sure can. It'll be using the same functioncode as this video. The only difference is that GTM needs to be added in two parts.
@barsk76
@barsk76 4 жыл бұрын
@@wplearninglab Thank you Bjorn. We learned a lot from you. 👍👍
@wplearninglab
@wplearninglab 4 жыл бұрын
Awesome, I'm happy to hear it! Anytime you want a specific tutorial, let me know and I'll see if I can make it happen.
@nickpage9138
@nickpage9138 4 жыл бұрын
thankyou for this! I was wondering if there was a way to minimise the amount of plugins used, because a few guidelines i have read have recommended between 5 - 10 plugins to maximise site speed and load times. I realised these guidelines were extremely difficult to stick to. If the site was any more than a simple blog or company 'about us' website the amount of plugins just goes up and up ending up in the 20-30 plugins per site mark. I was debating whether to master (or try) to master PHP, but I'm thinking ill just learn what is needed... you have probably saved me a few years of learning and bashing my head against a hard surface repeatedly to numb the pain. Very grateful!
@JimKernix
@JimKernix 4 жыл бұрын
Where is the link?
@wplearninglab
@wplearninglab 4 жыл бұрын
Great question! If I had a nickel for every time I forgot a link in a video description... Here it is: wplearninglab.com/add-snippets-to-wordpress-without-a-plugin/ Thanks for watching!
@JimKernix
@JimKernix 4 жыл бұрын
@@wplearninglab thanks
@bigdude6513
@bigdude6513 4 жыл бұрын
Hi, will you be doing a tutorial on how to secure a wordpress site without a plugin cos i find that wordfence slows my sites down quite a lot in some cases. been thinking of moving to Ithemes Security. I think/know you can do some work in the .htaccess file that can improve security but not sure how to do it. Thanks
@neilcoelho
@neilcoelho 2 жыл бұрын
I think it's easier to go in the WordPress dashboard Themes > Theme File Editor rather than going into the hosting website. This way it will be same for most people.
@Y.Bergamot
@Y.Bergamot 3 жыл бұрын
is HTML the same as a snipping code?
@justsnappy5534
@justsnappy5534 4 жыл бұрын
He'll sir updraftplus backup restoration Images gone after backup restoration (updraft plus How to fix this problem sir.
@wplearninglab
@wplearninglab 4 жыл бұрын
Are you able to download the updraft plus back up file and open it on your computer? If the media files were successfully backed up then they should be in side that file.
@justsnappy5534
@justsnappy5534 4 жыл бұрын
@@wplearninglab yes full backup completely
@justsnappy5534
@justsnappy5534 4 жыл бұрын
He'll sir updraftplus backup restoration in new hosting server
@miguel213
@miguel213 4 жыл бұрын
I appreciate Bjorn's attempt to help, but this is something you might want to bring up to UpdraftPlus dedicated support (if you got the Pro version). There's more info here: wordpress.org/support/plugin/updraftplus/
@abdullashafi580
@abdullashafi580 4 жыл бұрын
can I edit html ????
@wplearninglab
@wplearninglab 4 жыл бұрын
Hi Abdulla, which HTML do you want to edit and what do you want to do with it?
@b01lion79
@b01lion79 4 жыл бұрын
We need to kill plugins for speed wp, auto backup, Image Optimizer, Cache. Thank you.
@wplearninglab
@wplearninglab 4 жыл бұрын
I have videos planned for some component of all of those. As far as auto backup goes, if you have a solid hosting account, Siteground, they will make backups for you right in your hosting account. That'll save you a plugin :)
@lunacyworks
@lunacyworks 2 жыл бұрын
I agree with the over all thought, but I think your way is regression. These days we move away from directly modifying the function.php when possible. That is why the plugin Code Snipplets actually is a better way to do the same thing. So using 1 plugin enables you to avoid using and all the issues with child themes, and allows you to keep track of each code/snipplet.
@justsnappy5534
@justsnappy5534 4 жыл бұрын
Wordpress media image gone
@wplearninglab
@wplearninglab 4 жыл бұрын
Please see my response to your other comment?
@husnimubarakmaidanwall1260
@husnimubarakmaidanwall1260 2 жыл бұрын
Hello Dear
@mara_alexander
@mara_alexander 3 жыл бұрын
Too many commercials too close together.
@Signosis2007
@Signosis2007 2 жыл бұрын
I feel this video is going backward. It seems smart to move away from child themes. Perhaps on high performance and sites that won't be updating child themes might be workable. Using snippets has allowed us to continue to do A/B testing with various themes and makes it easy to test each functionality between updates.
@jakethorson6525
@jakethorson6525 Жыл бұрын
wtf even are you doing
2 Ways To Install Google Tag Manager In Wordpress Without A Plugin
13:39
WordPress Tutorials - WPLearningLab
Рет қаралды 14 М.
Stop using code snippet plugins
21:18
Adam Lowe
Рет қаралды 10 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Asset Cleanup Elementor Speeds Elementor Sites Even More - Asset Cleanup Plugin Settings
20:00
WordPress Tutorials - WPLearningLab
Рет қаралды 40 М.
Code Snippets vs WordPress Plugins Which Reigns Supreme?
50:15
Ferdy․com | Ferdy Korpershoek
Рет қаралды 15 М.
WordPress Content Copy Protection - Disable Copy / Paste In WordPress
8:37
WordPress Tutorials - WPLearningLab
Рет қаралды 15 М.
How To Optimize Images For Website Without Losing Quality With Free Online Tools - No Plugins
9:53
WordPress Tutorials - WPLearningLab
Рет қаралды 12 М.
How To Remove WordPress Admin Notices And Nag Screens For Good!
8:43
WPCrafter.com WordPress For Non-Techies
Рет қаралды 12 М.
Slash your WordPress Plugins for Code Snippets
18:35
Web Squadron
Рет қаралды 12 М.