wordpress pagination with query_posts

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

How to show some posts to only registered users in wordpress

How to show some posts to only registered users in wordpress

Some people want to show selected posts to only registered users in site. You can easily achieve this. You just need to create public and private category and publish your selected posts in private category. Use the following code in index.php … Continue reading

Limit excerpt length by characters in wordpress

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