Is your WordPress site painfully slow when visiting wp-admin? It could actually plugins you are using that are making external HTTP requests to "phone home". I experienced this first hand today.
A WordPress site I was developing was taking 5-10 seconds on average to load, which I was able to identify by installing the "Query Monitor" plugin. There were about 5 plugins making API requests to external servers which were blocking wp-admin from loading until they were completed. Even worse, on of the plugins was posting to a URL that no longer works.
I fixed this by blocking external HTTP requests for those plugins. Of course, don't block things you know you'll need.
WordPress has a way to do this, using "WP_ACCESSIBLE_HOSTS" - but it's not ideal as you will need to specify every host you want WordPress to make a request. I've got a script you can add into functions.php that will allow you to specify blocked hosts - video coming soon!
So I sort of stuffed up. I meant to finish my series on a Simple Plugin for WordPress, but my computer stuffed up and I lost the whole project. So, I did a new 2 hr Simple WordPress Plugin video that I've uploaded now which includes all the stuff needed:
The plugin I'm building is a basic simple custom form plugin which you can embed into your theme.
It includes:
1) Custom plugin options page to customise how the plugin works 2) Storing of submissions in the database as well as ability to search submissions 3) Sanitization and security 4) Sending Email from WordPress
Sorry everyone, it's been ages since I've posted anything. I feel really bad. It's partly because my main job (self employed) is web development and it's really hard to find the time to put up decent content without rushing things whilst working on client projects.
That being said, I've spent a bit of time mucking around with Gutenberg (reluctantly) and ACF (ACF is probably the number one plugin for any WordPress Developers toolkit).. however, I am pleasantly surprised. These two combined will allow you to easily build your own blocks without mucking around with React.
You'll be able to essentially create your own page builder which you can see the same website on the backend and front end. It's really a game changer.. (and that's coming from someone who has loathed Gutenberg and reverted to Classic Editor for every project)
In the next few weeks I'll be releasing a new, latest WordPress Theme from Scratch using ACF and Gutenberg, with Bootstrap 5, SASS. I'll be building a theme, building custom blocks in ACF and creating a real world website, as well as sending it live.
Feel free to post any suggestions of different types of blocks I can create part of this theme!
Sorry for the radio silence peeps! I've been a bit busy with work but very determined to get back on and create some brand new tutorials with regards to WordPress development. Stay tuned. Let me know what you would like to learn in the next series? I was thinking of building an actual production WordPress website from start to finish including setting it up on hosting etc.
Mr Digital
Is your WordPress site painfully slow when visiting wp-admin? It could actually plugins you are using that are making external HTTP requests to "phone home". I experienced this first hand today.
A WordPress site I was developing was taking 5-10 seconds on average to load, which I was able to identify by installing the "Query Monitor" plugin. There were about 5 plugins making API requests to external servers which were blocking wp-admin from loading until they were completed. Even worse, on of the plugins was posting to a URL that no longer works.
I fixed this by blocking external HTTP requests for those plugins. Of course, don't block things you know you'll need.
WordPress has a way to do this, using "WP_ACCESSIBLE_HOSTS" - but it's not ideal as you will need to specify every host you want WordPress to make a request. I've got a script you can add into functions.php that will allow you to specify blocked hosts - video coming soon!
2 years ago (edited) | [YT] | 27
View 9 replies
Mr Digital
So I sort of stuffed up. I meant to finish my series on a Simple Plugin for WordPress, but my computer stuffed up and I lost the whole project. So, I did a new 2 hr Simple WordPress Plugin video that I've uploaded now which includes all the stuff needed:
The plugin I'm building is a basic simple custom form plugin which you can embed into your theme.
It includes:
1) Custom plugin options page to customise how the plugin works
2) Storing of submissions in the database as well as ability to search submissions
3) Sanitization and security
4) Sending Email from WordPress
& Much more
Please check it out, hope you like it!
2 years ago | [YT] | 19
View 5 replies
Mr Digital
Sorry everyone, it's been ages since I've posted anything. I feel really bad. It's partly because my main job (self employed) is web development and it's really hard to find the time to put up decent content without rushing things whilst working on client projects.
That being said, I've spent a bit of time mucking around with Gutenberg (reluctantly) and ACF (ACF is probably the number one plugin for any WordPress Developers toolkit).. however, I am pleasantly surprised. These two combined will allow you to easily build your own blocks without mucking around with React.
You'll be able to essentially create your own page builder which you can see the same website on the backend and front end. It's really a game changer.. (and that's coming from someone who has loathed Gutenberg and reverted to Classic Editor for every project)
In the next few weeks I'll be releasing a new, latest WordPress Theme from Scratch using ACF and Gutenberg, with Bootstrap 5, SASS. I'll be building a theme, building custom blocks in ACF and creating a real world website, as well as sending it live.
Feel free to post any suggestions of different types of blocks I can create part of this theme!
Have a great weekend!
3 years ago | [YT] | 85
View 30 replies
Mr Digital
Sorry for the radio silence peeps! I've been a bit busy with work but very determined to get back on and create some brand new tutorials with regards to WordPress development. Stay tuned. Let me know what you would like to learn in the next series? I was thinking of building an actual production WordPress website from start to finish including setting it up on hosting etc.
4 years ago | [YT] | 50
View 22 replies
Mr Digital
How to create a simple WordPress plugin video coming very soon!
5 years ago | [YT] | 68
View 24 replies