Many we want to execute some code on custom post type or some times we want to execute code on normal pages or post. So here is solution. You just need to just add following code into your functions.php file … Continue reading
Custom post type are very important in wordpress. There are some nice plugins for creating the post type but I recommend custom code in function.php file. I already written about custom post type. If you want to know about custom … Continue reading
Many times we use the custom post type in wordpress. Some times we need to category and tags for custom post type which are only associated. you can use the following code in funcations.php file. Please consult with your developer. … Continue reading
From wordpress 3.0 version, wordpress started the custom post type functionality. There are API provided by wordpress for adding the pagination for custom post type. Some WP developers asked me about pagination of custom post type. That is very easy to add the pagination. Here in this article I given the code snippet for showing the pagination in custom post type. Continue reading
Here I am creating the Product post type with permalink. Please open the functions.php file and put following code in that file. If you have any issues or problem with permalink then please write to me.
From wordpress 3.0 version wordpress introduced the custom_post_type function. Many people want to attach the file field with add_meta_box function. In this tutorial I will tell you how to upload file with custom meta box and post type.
In this tutorial I will show you how to create the custom post type and add custom meta boxes to that post type and upload file with custom meta box.
After digging into wordpress files and functions I created following code. Just open your functions.php file and put following code in that file for creating custom post type. Continue reading