Uncategorized

Wocommerce Coming Soon for products

Use plugin https://wordpress.org/plugins/woo-coming-soon/ This disables the cart button and replaces it with coming soon message. Other option is https://codecanyon.net/item/woo-coming-soon/9364035 seems good but its paid. Display of product Display of product in details…
Uncategorized

Change the Ship to a different address? text on checkout page

By adding below code to either theme or child theme (if child theme is created) we can change the “Ship to different address?” on checkout page of wocommerce function ship_to_different_address_translation( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Ship to a different address?' : $translated_text = __( 'Check this if you wish Ship to a different…
Read more
Uncategorized

Wordpress replacing localhost urls inside base encoded strings saved by theme, plugins etc (Betheme)

For hosting wordpress site from localhost to live server require to change all the localhost urls to the live domain urls. Done and site also loads fine but none of the media items are showing as they are inside base encoded strings. How to replace urls inside the base encoded strings saved by the theme and other plugins? In my case i am using BeTheme and visual composer which contains the…
Read more
Uncategorized

Site Optimisation

Useful plugins to increase page speed 1.Autoptimize : for js,css and html optimisation 2.WP Super Cache : enable cache 3.leverage browsing cache : add this code in .htaccess file <IfModule mod_expires.c> ExpiresActive On # Images ExpiresByType…
Uncategorized

Find a pattern in files and rename them in Unix

How to Find a pattern in files and rename them in unix? Many a times we come across the requirement to rename the files in folder by removing some pattern from it. If it’s one or two files its fine but if it is more than 10 files than we try to find a solution to automate it or a quick command to do it. Below command will make your day 😉  find . -name “*” -exec bash -c…
Read more