Guidelines for developing plugin or theme for WordPress

Hello friends, here i write some guidelines for developing plugin and theme for WordPress. I inspired to write this article when i am facing some problems when developing plugin or theme for WordPress or using third party WordPress plugins and themes. Below are the some guidelines which i learn myself and share with you.

Display custom taxonomy in dropdown list or link format

Basically, we use get_terms() method to display custom taxonomy in dropdown list or link format. We get all terms of custom taxonomy in array format and then we are display terms in dropdown list or in link format using foreach loop.

Display category and post list in WordPress

Hello friends, Today we learn how to display all category list and each category list contain own post list. This example also work for all custom taxonomies and custom post types.

PHP script for creating the CAPTCHA functionality

You can see CAPTCHA (“Completely Automated Public Turing test to tell Computers and Humans Apart”) functionality on many websites to prevent spam contents. CAPTCHA is used exclusively in applications where the user input is required. These applications include Blogs, Forums and Portals.

Categorized as PHP Tagged