How to Increase WordPress Site Performance

How to Increase WordPress Site Performance
Nowadays everyone wants the site they are accessing should be faster. No one wants to wait till the site gets loaded. Because of this, it has become a necessity to improve our site performance as much as possible.
To increase WordPress site performance we need to take care of following things from professional WordPress developers:
1) Host
When you selecting any host for your site, you need to keep following things in your mind:
  • Your hosting should be capable to respond quickly. Response time will be vary based on server i.e. server response time of Apache is differ
  • Your hosting should be able to handle multiple requests at a time. It should be slow down while there is heavy traffic.
2) WordPress Theme
  • A theme which you select for your WordPress site is also responsible for the performance of your site.
  • Your theme should be lightweight and quite speedy.
  • The theme should not unnecessary images in theme, all image should be optimized.
  • A number of files should be less to display the page on your site. For that, we need to combine multiple CSS into a single file. The file should be optimized.
  • You should minify your CSS and javascript.
3) Use Effective Caching
  • Caching is the process of storing data in cache memory.
  • Cache is a temporary storage area. Whenever you request for a page first time, it will save it in the cache memory and then second time onwards server will serve this page from a cache memory. By this way, it will save your execution time and network burden of additional traffic.
There are many plugins available for WordPress like W3 Total CacheWp Super Cache, etc.
4) Optimize Images
  • Your site should have a way to optimize an image. If user uploads image with heavy file size, then it will affect your page load time. So as a solution, you should have installed a plugin which will optimize an image to reduce file size not reducing quality.
  • There are many plugins available for this like Wp-SmushItOptimus, etc.
5) Add an Expires Header to Static Resources
  • An Expires header is a way to specify a time far enough in the future so that the clients (browsers) don’t have to re-fetch any static content such as CSS file, javascript, images etc. This will help you to reduce load time for the regular user of your site.
  • You just need to add following code in your root .htaccess file:
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
6) Add LazyLoad to your Image
  • LazyLoad is the process of having only the images visible in the visitor’s browser window, then, when reader scrolls down, the other images begin to load, just before they come into view.
  • As a result, it will increase your page load time as well as it will save your bandwidth because you are loading less data for users who don’t scroll all the way down on your page.
  • There are many plugins available to implement this functionality, like jQuery Image LazyLoadLazy Load, etc
7) Disable Hotlinking and Leaching of Your Content
  • Hotlinking means, you are loading content from another site like google fonts, some images etc.
  • This will increase your bandwidth and page speed.
  • To overcome this situation, load content as much from your site only. Download external content in your site and load it from there.
8) Remove Unnecessary Plugins
Remove all inactive plugins from your site. You should also remove duplicate plugins(more than one plugin for the same purpose).
By doing this it will not load assets( like CSS, js, etc) of that plugins in your page or it will not perform and process which plugins does before page load.
9) Enable Gzip Compression
Enabling gzip compression on your site will dramatically reduce the amount of data sent from your server to the visitor’s browsers, thus increasing the page-load speed.
Hope this blog helps you out. Hire WordPress Developer to improve your WordPress website’s performance.

How To Disable WordPress Automatic Update Email Notification

How to Disable WordPress automatic update email notification
As we all know WordPress, by default sends an email notification to the user that WordPress site is updated. Some time user has multiple WordPress sites so they get notification from each site.

Now, let me guide you to how you can disable update email notification. We have two methods to disable WordPress update email notification:
Method 1: Disable update email notification by code

In this method you need to add below code into your current theme’s functions.php file or you can create a custom plugin for it. Below code adds a filter to disable email notification after automatic core update.
add_filter( 'auto_core_update_send_email', 'stop_auto_update_email_notification' );
function stop_auto_update_email_notification( $send, $type, $core_update, $result ) {
    if ( ! empty( $type ) && $type == 'success' ) {
        return false;
    return true;
Method 2: Disable update email notification by plugin
This is the most simpler way that does not require any code. You need to add Disable Core Update Email plugin.
Once downloaded, activate it and good to use. There are no settings of the plugin, you activate it and it simply disables email notification.
Hope this will ease your tasks and save time. Feel free to share any feedback, Hire WordPress Developer to fulfill your requirements we always ready to help you 🙂

Steps To Change Admin URL In WordPress Development Service

Change Admin URL
Let’s have a quick walk through regarding changing Admin URL with WordPress. As we all know that WordPress provides us less security compare to other CMS and Frameworks. So, in this case, to protect our website from hackers we need to perform several processes like protecting admin area, give fewer primitives to database etc.

If you have a WordPress site, then it is very easy to access admin URL of the login page. A Person who has basic knowledge of WordPress is known that by /wp-admin you can access admin page, or by /wp-login.php you can access the login page.
For the security purpose, we need to change Admin URL as well as Login page URL so that it is not easily accessible to others.

There are several plugins available in the market by which we can protect our admin area. Which are as follows:

  1. Protect wp-Admin
  2. Better WP Security
  3. Lockdown WP Admin

But, Here I am going to explain to you how we can achieve this using custom code:

You need to follow below three steps to change admin URL:

1) Add constants to wp-config.php file

define('WP_ADMIN_DIR', 'secret-folder'); 

2) Add below snippet in function.php file of your active theme

add_filter('site_url', 'wpadmin_filter', 10, 3); 
function wpadmin_filter( $url, $path, $orig_scheme ) { 
$old = array( "/(wp-admin)/"); 
$admin_dir = WP_ADMIN_DIR; 
$new = array($admin_dir); 
return preg_replace( $old, $new, $url, 1); 

3) Add below line to .htaccess file

RewriteRule ^secret-folder/(.*) wp-admin/$1?%{QUERY_STRING} [L]

By following above steps, you can access admin area using this URL.

Hope this helps you to make things work, feel free to leave your feedback..!!! Need more assistance Hire WordPress Developer…!

How Filter Works In WordPress

Filter Hooks are very powerful features of WordPress that provide huge amount of flexibility for modifying WordPress, including custom themes and plugins. In this tutorial, I’m just showing a simple example that demonstrates what a filter hook does.
There are four core functions that use when working with filters:
  • add_filter(): Used for adding new custom filter.
  • remove_filter(): used for removing an already registered filter.
  • apply_filters(): runs the provided data through the specified filter.
  • has_filter(): checks whether a specific filter has been registered or not.
You can think of a filter as a method for modifying data. Here an example for following colors:
function demo_show_colors() {    
    $colors = array('Red', 'Green', 'Blue');
    $list = '<ul>';
    foreach($colors as $color) {
     $list .= '<li>' . $color . '</li>';
    $list .= '</ul>';
    return $list;    
echo demo_show_colors();
* Red
* Green
* Blue
Now if we want to modify list of colors via plugin, we need to include a filter.
function demo_show_colors() {
    $colors = array('Red', 'Green', 'Blue');
    $list = '<ul>';
     $colors = apply_filters('modify_colors', $colors);
    foreach($colors as $color) {
     $list .= '<li>' . $color . '</li>';
    $list .= '</ul>';
    return $list;    
In if condition we check if there “modify_colors” filter exists then apply that filter to $color array.
After applying filter we can add colors, remove selective colors, change color name etc.
Here’s Example For Add Color:
function add_extra_color($colors) 
    $extra_color = array('Navy', 'Skyblue', 'Brown');
    $colors = array_merge($extra_color, $colors);
    return $colors;
add_filter('modify_colors', 'add_extra_color');
* Red
* Green
* Blue
* Navy
* Skyblue
* Brown
remove_filter is used for just remove addition done by the add_filter() if any.
Here is example of remove filter:
function add_extra_color($colors) 
 $extra_color = array('Navy','Skyblue','Brown');
 $colors = array_merge($extra_color, $colors);
 return $colors;
add_filter('modify_colors', 'add_extra_color')

function demo_show_colors() 
 $colors = array('Red','Green','Blue');
 $list = '<ul>';
     $colors = apply_filters('modify_colors', $colors);
 foreach($colors as $color) {
     $list .= '<li>' . $color . '</li>';
 $list .= '</ul>';
 return $list;    

* Red
* Green
* Blue
Hope you all understood the concept of Filters in WordPress. Feel free to contact us for any suggestions/queries and hire WordPress developer.
Read More….

Amazing HTML Code For Better Design Of Form Fields

Better HTML for better Form Fields

Some form fields look different on certain browser as per its behaviour. Here I have managed same design for all fields in all the browsers.

In this blog, code is provided for all the form fields.


  • Support in all browsers and OS & devices (Android & i Phone). I.e. Browser Compatible.
  • Easy to use.
  • SCSS & CSS both codes are available.
  • Compatible with IE 9 and higher version.
  • No need of third party JS, CSS and libraries.

How To Create identical Form fields

  1. Radio button and Checkbox design

Read more…

How To Modify WordPress Dashboard Without Plugin

Today, I am going to provide you easy and quick steps to modify wordpress dashboard without plugin. Please follow below steps:
1. Hiding unwanted widget from wordpress dashboard
You can easily hide widgets from wordpress dashboard that you have no longer needed.
You have to add following code into your active theme’s function.php file:
add_action('wp_dashboard_setup', 'custom_hide_widgets');
function custom_hide_widgets() {
     global $wp_meta_boxes;
//for Activity
//for At Glance    unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']);    
This will hide Activity & At Glance from your wordpress dashboard.
2. Replace “Howdy” with your text in wordpress admin bar
By default in wordpress admin bar “Howdy” text is shown you can easily change it with your text. You have to add following code into your active theme’s function.php file:
function replace_howdy_with_your_text( $wp_admin_bar ) {
 $your_title = str_replace( 'Howdy,', 'Your Text', $account_info->title );
 $wp_admin_bar->add_node( array(
     'id' => 'my-account',
     'title' => $your_title,
 ) );
add_filter( 'admin_bar_menu', 'replace_howdy_with_your_text', 25 );
Here we use admin_bar_menu filter to replace text.
3. Change wordpress dashboard footer text.
You can change wordpress dashboard footer text by your own text or link or other. You have to add following code into your active theme’s function.php file:
 function custom_footer_admin_text () {
       echo "Your own text or link";
  add_filter('admin_footer_text', 'custom_footer_admin_text');
Here we use admin_footer_text for change admin footer text. For link you need to use anchor tag (<a>).
4. Create your own Admin Color Scheme  
You can create you own admin color scheme for that you need to create css for your color scheme. Create a directory called admin-css into your active theme and add your css file in it.