Blog

Media Query Mixins using SASS for Bootstrap 4 and understanding responsiveness approaches

CSS frameworks like Bootstrap 4 comes with very powerful responsiveness utilities but some people(like me) still prefer using their own media queries to create stylesheets in place of using that framework’s own SASS mixins. To use Bootstrap 4’s SASS mixins, you have to include the whole bootstrap SASS package into your main SASS file. Some […]

Load data in random order from ACF Repeater field

WordPress ACF(Advanced Custom Fields) plugin provides a really nice feature of repeatable fields. So you can add set of sub fields easily and then fetch them on frontend using a very simple loop. You can make any kind of field repetitive. So it can be textbox, selectbox, date picker, image upload and many more. You […]

Add AJAX based “Add to cart” button on Woocommerce Product Page

Woocommerce provides a really nice ajax feature when we add products to the cart. So the page does not reload and the cart counts gets updated immediately. But it is limited for Product Listing/Archive page only. On the single product page (product details page), it doesn’t use the ajax based add to cart button. So every […]

Setup GST on WordPress Woocommerce based websites

As GST (Goods and Services Tax) has been announced recently in India, this has now become mandatory for every sellers to remove all the other taxes and update them with a single tax called GST. I am going to show you how to setup & apply GST Tax on Woocommerce based websites. These are very simple […]

Generate Youtube Embed Code from URL using PHP

This is just a quick code snippet post on How to generate Youtube Embed Code from URL string PHP. Basically when we are building a user profile modules, and we need to take youtube video URLs from users, its very helpful. So that we just by using this URL, we can generate Youtube Embed code. […]