Category: CMS

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

How to hide Contact Form 7 after successful send

As you know that contact form 7 provides diffenent action hooks.Here, you can simply use on_sent_ok Javascript action hook. Through this hook, you can add a JavaScript code which you want to execute after the form is successfully submitted. You can add code through Additional Settings field at the bottom of the contact form page.

Adding Custom Meta Box to Taxonomies

There are three main functions to add the meta box for taxonomy.Which are invoked through following hooks: 1. {taxonomy_name}_add_form_fields 2. {taxonomy_name}_edit_form_fields 3. edited_{taxonomy_name} 4. create_{taxonomy_name} Here , you can change the taxonomy_name with any predefined or custom taxonomy accordingly.I am using “Woocommerce product taxonomy” and created a plugin for same.Please review following functions to add