WordPress user profile custom picture
The code below allows us to add a custom image to the WordPress user profile. This code can be useful for users that don’t have an Avatar.
The code below allows us to add a custom image to the WordPress user profile. This code can be useful for users that don’t have an Avatar.
If your WordPress site has Google Fonts errors in GTmetrix, Pingdom and Google PageSpeed Insights, you may need to load […]
Restrict files bigger than 1mb to all users expect the ones inside of the array.
This is code snippet displays a slick slider. We can use the slider anywhere on the website we just need […]
Allow Contributors to Upload Images By default, WordPress does not permit contributor accounts to upload images. You can, of course, […]
If you want to use a different stylesheet for different browsers you can use HTML conditional tags or you can […]
Why Create a WordPress Login Popup? If we are running an online store, membership website, or any other website that needs users […]
This code snippet adds a colour picker for text or background colour found inside the visual editor toolbar with a […]
When we talk about WordPress performance, this issue comes up quite often. Our CSS and JavaScript files normally have the […]
What is GDPR Compliance? A quick summary of site owners’ obligations relating to the collection of user data from EU […]
Autoptimize “makes optimizing your site really easy. It can aggregate, minify and cache scripts and styles, injects CSS in the […]
The function myplugin_options_page will register the admin page and the myplugin_render_options_page function will rendering the admin page. These functions could be useful for admin information […]
The WP Sync DB simplifies the work of migrating a WordPress database. With WP Sync DB we can copy our […]
The code snippet below is a demo in how to redirect users to subsites based on their country IP location. […]
Sometimes we want to display the same HTML content several times on the website, we can either copy & paste […]
The code below will allow us to change the WordPress login page in a few steps. Create plugin to change […]
Normally it is a good idea to disable user registration if you are not planning to use membership feature because […]
Google has been supplying the community with a large collection of web-based fonts for quite a few years. There are […]
How to redirect a user after login based on their WordPress role. How to redirect users who log in to […]
In some cases, you may need to disable the default WordPress widgets. The WordPress code snippet below will remove the […]
The following code below will disable menus items on the WordPress admin area, this code snippet can be used on […]
This WordPress code snippet below will email the Post Author a “post published successful” confirmation for every post published. The […]
Open all links in new windows, WordPress add target blank in all (a) HTML tags. I am personally not a […]
This code snippet creates a shortcode with the HTML content. To call the shortcode you can call it on the WordPress […]
If you need a quick and easy way of locking your site to non-admin users, just use this code snippet: […]
Stop WordPress removing HTML. Add the bellow code on your functions.php
Another anti-hack hack is this handy security obscurity snippet that will hide the version of WordPress you’re using this hidden […]
WordPress is still living in the stone age with its contact forms in the User Profile section (AIM? Yahoo IM?). […]
This little piece of code does something pretty cool. It will add an additional option to your settings menu with […]
It is very important to keep WordPress up to date because of security threats and other backend functionalities, especially nowadays […]
Do you want to put a link or a message on the WP admin’s footer, well this snippet it will […]