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
Debugging is an essential skill for any developer, every good developer should turn on debugging before getting started coding a
This code snippet adds a colour picker for text or background colour found inside the visual editor toolbar with a
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 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
Getting Started With Setup wp-config.php and add constants and define post rules Setup WordPress wp-config.php In this tutorial, you will
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