As always Paul , you nailed it. After 15 years of using wordpress i'd say 95% of all my issues arrise from plugin conflicts and their management. Adding Code snippets to my workflow has delivered a meaningful impact on my time (reducing maintenance), site performance (controlling where and when scripts are fired), seo (adding comprehensive specific schema markup to individual pages/taxonomies), and replace your child theme. A very powerful tool that folks shouldn't shy away from. Apreciate all your hard work and look forward to checking out a couple of your suggested alternatives. Cheers
A really really useful video, one of the best WP vids I've seen so far. Mentioned tools and the approach of going as slim as possible with plugin installs are gold.
Excellent video. Better than TinyPNG/JPEG, I find, is Photopea. You can convert your images to almost any format and, while doing so, compress it as much as you like. In addition, it provides all the functionality of Photoshop.
Love affinity - have had those programs since they were created. On the optimization - a local PC or online app isn't going to deliver image resizing on the fly right? I've been using WP Compress for that and it's been working really well. I've liked it better than EWWW or short pixel's plugin. For SEO AI - Ive used Squarely, Rank Math, and SurferSEO. They all work pretty well. For speed - cloudflare has been awesome. I really like WP Asset Cleaner plugin too though - it's able to clean up alot of stuff on a page by page basis when needed. As always. - good tut!
One of the best (because I know you like tinkering) tools I've seen lately for generating code snippets is WPCodey (you might need a WPCodeBox account to use it). You can pretty much type in english what you want (within reason) and it generates the code snippet. Genius
Thanks, Paul. And here is another hint. Concerning webp -- which was intrinsically optimized for the web by Google in 2010 -- WordPress automatically 'crunches' every image, no matter the format, down to 82% or so. Crunching is what happens the very second the image upload hits 100%. This also explains the delay after the upload completes. Can you say, "Crunch time?" I researched this esoteric phenomenon. To stop the 'WordPress crunch', you have to use a plugin, or get into the CSS base code to block it. Yikes! We switched to all webp across our site, then matched the hex color codes of the PNG background colors to the background colors of the containers they are in. The last step was to convert the PNG to a webp, and there are free utilities for that, too. This eliminates the need for PNGs, because it becomes a perfect match anytime you're dependent on an ostensibly transparent background for a 3D effect. I call this 'background-matching'. It works surprisingly well, IMHO. Lastly, when we get hit by the 'WordPress crunch, it creates 'secondary compression'. And we all know that the more times you compress an image, the worse it gets.
Thank you for this tutorial. WP stores a lot of unnecessary data that you don't use. For example, when you uninstall a plugin. But also photos are stored twice when you don't need them. I made tutorials about this.
One of my biggest gripes is with how developers market plugins to do all these great things and when you buy their plugin it doesn't work the way you expected, or doesn't work with another crucial plugin you already set up (like WooCommerce). Even though some of them might offer support you really won't get anywhere with them in most cases. The only plugin I will give huge props to is Calculated Fields Form. They have solved many of my problems for a small support fee of $25 (writing custom JavaScript for me). It's not the most pretty plugin, but it gets a complicated job done with some CSS and JS. Right now I'm trying to tackle the problem of fighting the presentation layer in WordPress at every turn. I'm considering headless solutions and learning some more advanced coding like JS and CSS libraries and maybe Node and/or PHP. My needs are more ERP/MRP oriented right now and that really pushes the limits of WP.
Thank you Paul! Actually, a lot of people (myself included) use plugins because they are not 100% comfortable with coding (or where to insert code snippets or how to twik them). So plugin may be a natural and straigthforward solution for them.
I’m not criticising the use of plugins. Simply providing an alternative after people have complained about the use of plugins in previous tutorials. Options are great. If a plug-in is your preference, go with that. If you’re comfortable using code snippets, etc., that’s a great alternative too. 😁
@@WPTuts That's not what I meant, Paul. It was just a remark on why people do rely so much on plugins. A reliance you are encouraging, by the way, with your nice tuts (OK, it's a joke!).😂
@@comleonmoto I think we may have crossed wires. I was agreeing with you and saying there’s nothing inherently wrong with choosing a plug-in over a potentially more complex alternative. 😁
Hi Paul, I think it's one of the most important topics for Wordpress implementers. Reducing the amount of Plugins is very important! I would love it if you could share for example JetEngine and the free options you mentioned like: WP Generator and others. Can we do the same as JetEngine? Thank you for these valuable video tutorials.
I would hazzard a guess you could use some of the custom meta field with JetEngine, but not sure what you would gain by doing that. You'd still have to install JetEngine so you may as well benefit from the integrations it offers with its own meta fields, CPTs and taxonomies.
Thank you for sharing yourvery useful videos with us. ! Keep up your awesome project 🐱🤠☺👍 This video is very informative and easy to follow the video contents. It gave me many new ideas. Explained very well.
Hi Paul, what a great video! Thanks a lot! I have another question: Can you recommend a simple but solid WordPress plugin that runs well in combination with Elementor?
Great list! A love these video menu etc very slick. Is there any application to manage subscriptions? When I have Adobe, Siteground, Elementor, etc... I know I can setup Notion or a spread sheet but thought there might be a much better option out there.
@@WPTuts Thanks! I'd love to see a video that talks to how to maintain snippets and update them, for example if I need to add a field to a custom PT how does one do that after initial creation? Cheers
Good question! It adds an extra level of protection from messing up your site. But, you can go with whichever method you prefer - the takeaway is more about not editing your 'master' functions.php file and potentially losing those changes after each update.
I still have not found a plugin or a way to resize, crop (with guide lines), optimize images when users are allowed to upload images to their custom post themselves. Do you know any tool that when a user clicks a button to upload their images, they are presented with options to crop, optimize, resize the images BEFORE they get upload to the website? Or maybe even a plugin that will do all that automatically based on the setting the admin sets prior? Also if you know any tool that would create an "approval system" for uploading images, where it would alert admin that user wants to change their images, but the post would not be hidden/private while admin checks if the images are OK to be approved? Those approved images would replace the previous ones, and the ones that were denied would not show up? Maybe send a message to the user saying that those images are inappropriate for the post. Hopefully I'm clear :)
@@WPTuts I’m afraid I’ve gone the other way. Already halved the channels I follow and more to go soon. £16/month is way too expensive - I could buy 3 new plugins for that lol
Maybe I am off base here but other than plug-in conflicts isn’t the performance issues brought by plugins due to the code practices used in developing these plugins? So wouldn’t using a code generator or code snippet have the same potential for performance problems? I mean do we trust the code from the snippets or the generators more than the code in the plugins? Perhaps I am missing something.
You really have no idea what the plugin is doing behind the scenes either. At least with the code generator you can see exactly what code is generated and validate it yourself. Alternatively, in many cases you could learn the basics of the code structure, make a template and just edit the required code to get everything working. The code used for CPT's or Meta Fields is relatively straightforward and easy to validate and replicate.
I am creating a membership site. I will let members create post types and edit them from the front end. If a user creates a post type, I want them to be able to charge for that post type and collect a fee. The money will go to them and I will get the fee. Is this possible to do without installing a plugin?
@@WPTuts Definitely a learning curve but containers are super cool and would be how one person could build something like wpengine (minus customer support). With kubernetes you can automate the creation of wordpress instances on a server, for example if a user adds a new site. That new site is a mysql, phpadmin and wordpress wrapped up with just its dependencies. You can run it locally too. They're basically virtual machines that don't divide the kernel. That means your computer is actually a bunch of computers that can also have computers and each one can run windows, mac, linux, kodi, raspian, home assistant, plex, etc. That's huge because people can easily run home servers on single boards like the raspberry pi to handle their sensitive data and control their environment (their house). Home assistant is an open source app for interacting with IOT devices. It will be the next big thing when the pi chip shortage ends. There's a whole industry sprouting in between docker and users. I bet your subscribers would love a video on something like home assistant or node red to get hyped about how powerful it is. Also running your own server on linode or digital ocean is far cheaper and faster, especially if you have multiple sites/traffic but again there is a learning curve but it's nothing that youtube can't teach. Anyway something to think about... Love your videos Paul. Big fan.
You shouldn't unless WP changes the core structure of how CPT's work. Once registered, you shouldn't need to worry about making future changes manually.
Why upload your images to wordpress at all? Upload them directly to a CDN like Cloudinary and then hotlink to them from your site. Cloudinary automatically serves the best format size and quality for the device that is requesting them