admin

WordPress & PHP Programmer

All posts by admin

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

Envato birthday 30% OFF

From 13-08-2019 to 20-08-2019 discounts for Envato birthday (GMT+1): WOOF – WooCommerce Products Filter – 30%, just for 23 USD (34$) WOOCS – WooCommerce Currency Switcher – 30%, just for 21 USD (30$) WOOBE – WooCommerce Bulk Editor Professional – 30%, just for 21 USD (30$) MDTF – WordPress Meta Data & Taxonomies Filter – 30%, just for 21 USD (30$) WPCS – WordPress Currency Switcher – 30%, just… read more

Black Friday AND Cyber Monday 2018

2018 year discounts for Black Friday 23-11-2018 10:00 and Cyber Monday 27-11-2018 10:00 (GMT+1): (CLOSED) WOOF – WooCommerce Products Filter – 50%, just for 17 USD (34$) WOOCS – WooCommerce Currency Switcher – 50%, just for 15 USD (31$) WOOBE – WooCommerce Bulk Editor Professional – 50%, just for 12 USD (23$) MDTF – WordPress Meta Data &… 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 …