Some people asked me about pagination of custom post type. That is very easy. For showing the custom post type we always use the query_post method. Just use the following code in your template or theme file. Have fun! Incoming … Continue reading
Category Archives: wordpress api
wordpress pagination with query_posts
Mostly people use the query_posts function for fetching the specific posts. But most of all people face issue with pagination. Just use following code for pagination. It is simple and easy. Incoming search terms:wordpress 3 3 query_postswp_simple_pagination wp_queryajex pagination plugins … Continue reading
Limit excerpt length by characters in wordpress
I already written about this in following article. But some people need the more advanced excerpt. http://wordpressapi.com/2010/08/11/set-wordpress-post-excerpt-length-limited-characters/ First open your functions.php file and put following code in that file. Use this function if you’re planning on using it more than … Continue reading
How to create the breadcrumbs in wordpress
In many sits we need to show the breadcrumbs in site. For pages and category we can create the breadcrumbs. We need to put following code in functions.php file. After that put following code in header.php file. After putting above … Continue reading
create custom post type with permalink
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. Incoming search terms:post_type permalinkwordpress … Continue reading
wordpress theme wysiwyg editor default css
Many wordpress developers are creating wordpress theme. But many times when you are writing through editor and applying the formatting. Formatting is not exactly coming in theme. Some time image alignment and photo caption is not coming properly. When you … Continue reading
Remove first image from wordpress post
In many wordpress old site they used the first image as post or featured image so while showing the single post they not want to show the first image which is uploaded. Using following code you can remove the first … Continue reading
Remove images from wordpress post
Some time we want to remove the images from wordpress post. I got following code for removing the images from post. you can use following code in single.php or page.php file.
Add the Comment Preview to Comment box without WordPress Plugin
Many times comments preview will be useful for visitors to see how comments will be looking. Using google Jquery or wordpress jquery you can add the comment preview to your wordpress blog. In this tutorial I am using the wordpress … Continue reading
Create an Ajax-based Auto complete Search Field in wordpress
Now auto complete search box is very common for every web projects. Auto complete search functionality you can see in google also. In wordpress also you can easily achieve the auto complete search form easily. There is very nice Jquery … Continue reading








