Author: admin

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

Print Fibonacci Series in PHP

A Fibonacci series is a sequence of number in which each number is sum of previous two numbers.It starts with a zero or a one ,followed by a one, and proceeds based on the rule that each number (called a Fibonacci number) is equal to the sum of the preceding two numbers. Fibonacci Series looks