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? Continue reading “Process behind add_image_size()”
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. Continue reading “Hooks inside wp_insert_post()”
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.
Continue reading “Guidelines for developing plugin or theme for WordPress”
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.
Continue reading “Display custom taxonomy in dropdown list or link format”
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.
Continue reading “Display category and post list in WordPress”