Categories
WordPress

Process behind add_image_size()

We know that add_image_size() is used to create different attachment image sizes . We are doing this to display different sizes of image on web page.

Have you ever thought what add_image_size() will do? How different sizes of image are created when the attachment is created?

Categories
WordPress

Hooks inside wp_insert_post()

I felt that as WordPress developer we need to know about various hooks which is fired when post is created and updated. wp_insert_post and wp_update_post functions are called when post is create/update.

Categories
PHP WordPress

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.

Categories
PHP WordPress

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.

Categories
PHP WordPress

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.