How to optimize wordpress site loading time 

Here is some instructions and code you can use for site speed optimizing which you can test here https://developers.google.com/speed/pagespeed/insights/?hl=en Install plugin Autoptimize and set next options: Install plugin WP Super Cache Install plugin Compress JPEG & PNG images Set your options here ‘/wp-admin/options-general.php?page=tinify’ Install plugin Disable Embeds Install plugin Disable Emojis (GDPR friendly) Add next… read more

  HTTP Error 500 Internal server error 

Internal server errors (errors 5xx) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins, to define source of the troubles. If you do not have access to your site wp admin panel, try manually reset the plugins (no Dashboard access required): by… read more

  How to test WordPress plugins to get script conflicts 

Use next algorithm to define what exactly does not work on your WordPress site after any changes with core, theme or/and plugins: create site duplicate using plugin https://wordpress.org/plugins/duplicator/ create test subdomain on your site using hosting panel install duplicate bundle on your test subdomain on the test sub-domain deactivate all plugins except one main plugin… read more

  How to remove fields on woocommerce shop checkout page 

To remove fields on woocommerce shop checkout page use hook: woocommerce_checkout_fields As an example drop next code in your site current wordpress theme file functions.php:

See fields keys you can disable: Billing Fields billing_first_name billing_last_name billing_company billing_country billing_address_1 billing_address_2 billing_city billing_state billing_postcode billing_phone billing_email Shipping Fields shipping_first_name shipping_last_name shipping_company shipping_country shipping_address_1 shipping_address_2 shipping_city shipping_state… read more

  How To Manage Multiple WordPress Websites With wpCentral? 

Being a developer or a designer of websites, it becomes difficult to manage each one of them separately. If you happen to be developing your websites using WordPress, you are lucky to have a WordPress plugin named wpCentral, which helps you to organize all your websites from single dashboard. You don’t have to remember the… read more

  How to reset page cache in the browser 

press CTRL+R CTRL+F5 Ctrl+Shift+R Apple + R or command + R (apple) in Chrome browser the best way is: Open the developer tools: Ctrl + Shift + I Now, leaving the panel open, left click on the “Update” button (next to the address line) and do not release the button. After a few seconds, you… read more

  How to remove type=”text/javascript” from WordPress site 

Install this plugin: https://wordpress.org/plugins/autoptimize/ Enable in its options wp-admin/options-general.php?page=autoptimize ‘Optimize HTML Code?’ In file functions.php of your current wp theme apply next code

Do not forget in $site_url change link to your site link without slash on its end  

  How to make auto-update for WordPress plugins and themes bought on Envato 

Install next plugin: https://envato.com/market-plugin/ – this plugin helps customers receive updates to the premium Themes & Plugins purchased through Envato Market (ThemeForest & CodeCanyon). Do next steps: Install the plugin on your site Go to https://build.envato.com/create-token/?purchase:download=t&purchase:verify=t&purchase:list=t Enter token name there, any words you like, or set of random symbols Below entered token-key select any services you want,… read more

  How to add WordPress user using php code 

Sometimes its necessary to create new user on WordPress site using PHP code. Below is code which will make this work …