WordPress Themes, Plugins, Tutorials, Tips And More...

Tag: Pagination

Comment Pagination – How To Do It?

Comment Pagination

Quite a time, you did gets a lot of comments in your posts. It is nothing but ends up in lowering the speed of your website which not only irritates you but the end users which visits your website regularly. On context of the same thing, in this article, we will show you how the comment pagination actually works and what you can do to paginate comments in WordPress which will let you speed up your post load time.

Option 1 – Using Plugin

Simple Ajax Insert Comments Lite

The plugin lets you insert and display comments easily and quickly using Ajax style of social networks.

More Info | Download

Ajaxify-Comments

The plugin will help you to have ajaxified comments on your site.

More Info | Download

TW Pagination

The plugin is a simple and flexible pagination plugin which provides users with better navigation on your WordPress site.

More Info | Download

Simple Pagination

The plugin allows to set up an advanced pagination for posts and comments. You have an easier navigation on your WordPress.

More Info | Download

Comment Guestbook

The plugin add a guestbook page which uses the wordpress integrated comments.

More Info | Download

Option 2 – Without Using Plugin

To opt for without plugin method, please follow the steps shared below:

  • Login to your WordPress admin area.
  • Go to Settings >> Discussions
  • Find the section which says Break comments into pages
  • Now, simply select the number of comments you wish to display on each page.
  • Once selected, you are done.

Next and Previous Links In WordPress

Link Tags are the most powerful tools you ever found for moving your visitors in and around your WordPress website. The idea to use the Next and Previous post links guide your visitors throughout your site. Understanding the process well, there are two sets of tags which lets the process happens: posts_nav_link() and the combination pair of previous_post() and next_post(). The posts_nav_link() will displays both the Previous and Next links while the combination pair will display one of the Previous or Next links.

WordPress

Understanding The posts_nav_link()

The first set is featured only on the non-single/non-permalink web pages, which includes categories, archives, searches and the index pages. The template tag posts_nav_link() build two links at the page bottom within the WordPress Loop to display the next and previous pages. By default, the posts_nav_link looks like this:

« Previous Page — Next Page »

To lookout for the tag, check out in either a paragraph code or a division:

While the parameters of the tag are as follows, where these parameters can be used to generate a string or any text or HTML or CSS tags:

Understanding The Next and Previous Posts

The next and previous post links can be located at the bottom of your single/permalink post; will let directing the user to move to the next or previous post in chronological order. The template tags are previous_post() and next_post().

The default usages of these tags are:

While it looks like this:

previous post: Link To Previous    next post: Link To Next

Photo Credit: Flickr/Dave O

Powered by WordPress & Theme by Anders Norén