Loop Post Navigation Links

This plugin provides two template tags for use in single.php to create a post navigation loop, whereby previous to the first post is the last post, and after the last post is first post. Basically, when you're on the last post and you click to go to the next post, the link takes you to the first post. Likewise, if you're on the first post and click to go to the previous post, the link takes you to the last post.

The function c2c_next_or_loop_post_link() is identical to WordPress's next_post_link() in every way except when called on the last post in the navigation sequence, in which case it links back to the first post in the navigation sequence.

The function c2c_previous_or_loop_post_link() is identical to WordPress's previous_post_link() in every way except when called on the first post in the navigation sequence, in which case it links back to the last post in the navigation sequence.

Useful for providing a looping link of posts, such as for a portfolio, or to continually present pertinent posts for visitors to continue reading.

If you are interested in getting the post itself and not just a link to the post, you can use the c2c_get_next_or_loop_post() and c2c_get_previous_or_loop_post() functions.

Links: Plugin Homepage | Plugin Directory Page | Author Homepage

Related Posts

Related posts, related articles and in-text links are an easy way to make your creations feel more authoritative and credible. Related posts help your readers discover your own related content by automatically linking to it at the bottom of each post. Related articles help your readers find other .........

Similar: 50%

Post link shortcode

Post link shortcode is a WordPress plugin that adds a possiblity to link to posts and pages within your post or page content using a custom shortcode. For more information, check out Post link shortcode. Features include: Usage as simple as using [post] in your post/page content Customising the .........

Similar: 46%

First Post Link

Provides a simple way to access the permalink and title of your first (oldest) post. It can be useful for webcomics, welcome pages, and other places where you want this type of navigation....

Similar: 39%

Widget as Link

This plugins simply adds an extra field to all widgets that lets you add a link to the widget's. When the widget is displayed, the widget is now clickable and links to the url you entered. Works with all widgets!...

Similar: 39%

Latest Post Link

Provides a simple way to access the permalink and title of your most recent (newest) post. You can use the functions in this plugin to link to the latest post from within your theme. It can be useful for webcomics, welcome pages, and other places where you want this type of navigation....

Similar: 34%

Ajax Pagination and Infinite Scroll

Load paged content with Ajax throughout your WordPress site. This plugin works where you'd usually display paged content including on posts, pages, custom post types and WooCommerce. There are 3 paging types to choose from; infinite scroll that automatically loads new posts as the user reaches the .........

Similar: 20%

FeatPlug

Featplug is a standalone script / wordpress plugin that can mine your WordPress posts or any other data and look for images suiting a given dimension and generates 'featured' section for your site using the found items. The featured section, includes a resized image (banner) with the label, descrip.........

Similar: 13%

Plug-N-Edit Full Drag & Drop HTML Visual Editor with Web Page Builder WYSIWYG

New Users - Full Drag And Drop! PlugNedit has a more powerfull free version just released in BETA please take a look if you would prefer the newer editor. In Theme Live Editing. Mobile and Full size views with preview. Video Backgrounds. More Stable. Greater Options. Use theme CSS. Adaptive Resp.........

Similar: 8%

Import CSV with Ultimate CSV Importer

Import CSV data to WordPress is made very easy even for novice users as in few clicks and 3 simple steps with CSV Importer plugin. Now csv importer supports multi language and almost every WordPress modules and plugin fields as follows. Import data feed periodically from csv file as...

Similar: 7%

Social Share 2.0 - Social Bookmarks

This plugin adds a small widget within each blog post to share blog posts on Facebook, Twitter, Google Buzz, Digg, Surfpeople, and well over 100 more social bookmarking and sharing sites ....

Similar: 5%