How to Add Custom Fields to WooCommerce Checkout Page

Recently, I have created e-commerce site using wordpress and woocommerce and it is required to collect more information of customers through extra fields on checkout page.Here, I had many options to customized checkout page using plugins and code.But there was requirement to add fields conditionally according to type of user.For this I used action hook

How to disable wordpress admin bar from front end

Recently we have built a social community site in wordpress and we have to create different levels of users according to their membership.So, we dont want to allow users to access admin panel and display admin bar according to their accees level.Here, we will show you how to achieve it.   Disable wordpress admin bar