It should be done via terminal as below. In the terminal navigate to bin folder of MAMP using below command cd /Applications/MAMP/library/bin Use this command […]

Find all files contains a string -Easyway through Terminal
grep -rnw ‘/path/to/somewhere/’ -e ‘pattern’ Eg: grep -rnw ‘/var/www/sarankumar.xyz/htdocs/’ -e ‘google.com’ -r or -R is recursive, -n is line number, and -w stands for match […]

WooCommerce add product to cart with price override
some times we need to woocommerce change product price programmatically. add_action( ‘woocommerce_before_calculate_totals’, ‘add_custom_price’ ); function add_custom_price( $cart_object ) { $custom_price = 10; // This will be […]

Flexslider for WordPress Native Gallery
WordPress plugin that create an awesome flexslider gallery instead of the default static thumbnails.No custom classes or extra posts necessary, just use the normal add […]

Adminbar Default Menu Manager
Plugin help to remove some default admin bar menus. WordPress logo,sitename,comments,updates,loginout etc can be easily removed. Also you can change the color of the adminbar […]

Uploading local folder and files to server easily using terminal
If your server setup support SSH then use following code to upload the folders from local system. scp -r mydirectory [email protected]:destdir The -r means “recursive” so it […]

Foundation sites 6.5.x with angular 7.x
Step 1: Create a new angular app by following command. ng new my-foundation-app Step 2: change directory to new created app folder. cd my-foundation-app Step […]

WordPress Gutenberg – My views and Reviews
I have using wordpress for my clients and personally using for business purpose too. While checking with wordpress gutenburg I can see that the most […]

Creating first Angular 6 Application in Mac
This is angular 6 tutorial for beginners. Steps you need to do is: Install Nodejs Install NPM(Package manager will automatically install while installing Nodejs) Install […]