Loop Post Navigation Links
- Author:Scott Reilly
- Version:1.5
- Last update:22 July 2009
- Compatibility:WP 2.6+, 2.7+, 2.8+
- Comments:go here
- Download:[ zip ]
- Description:
Template tags (for use in single.php) to create post navigation loop (previous to first post is last post; next/after last post is first post).
-
Extended Description
[]czoyNDpcIm5leHRfb3JfbG9vcF9wb3N0X2xpbmsoKVwiO3tbJiomXX0=[] is identical to WordPress’s []czoxNjpcIm5leHRfcG9zdF9saW5rKClcIjt7WyYqJl19[] in every way except when called on the last post in the sequence, in which case it links back to the first post in the sequence.
[]czoyODpcInByZXZpb3VzX29yX2xvb3BfcG9zdF9saW5rKClcIjt7WyYqJl19[] is identical to WordPress’s []czoyMDpcInByZXZpb3VzX3Bvc3RfbGluaygpXCI7e1smKiZdfQ==[] in every way except when called on the first post in the sequence, in which case it links back to the last post in the 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.
Installation
- Download the file loop-post-navigation-links.zip and unzip it into your wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ admin menu in WordPress.
- Use []czoyNDpcIm5leHRfb3JfbG9vcF9wb3N0X2xpbmsoKVwiO3tbJiomXX0=[] template tag instead of []czoxNjpcIm5leHRfcG9zdF9saW5rKClcIjt7WyYqJl19[], and/or []czoyODpcInByZXZpb3VzX29yX2xvb3BfcG9zdF9saW5rKClcIjt7WyYqJl19[] template tag instead of []czoyMDpcInByZXZpb3VzX3Bvc3RfbGluaygpXCI7e1smKiZdfQ==[], in your single-post template (single.php).
-
Examples
[]czoxODU6XCINCjxkaXYgY2xhc3M9XCJuYXZpZ2F0aW9uXCI+DQoJPGRpdiBjbGFzcz1cImFsaWdubGVmdFwiPjw/cGhwIHByZXZpb3VzX3Bve1smKiZdfXN0X2xpbmsoXCcmbGFxdW87ICVsaW5rXCcpID8+PC9kaXY+DQoJPGRpdiBjbGFzcz1cImFsaWducmlnaHRcIj48P3BocCBuZXh0X3Bvc3Rfe1smKiZdfWxpbmsoXCclbGluayAmcmFxdW87XCcpID8+PC9kaXY+DQo8L2Rpdj4NClwiO3tbJiomXX0=[]
Release Log
- 22 Jul 2009 : v1.5 — Release notes. Highlights: added %date as special format tag; added filters; dropped pre-WP2.6 support; noted WP2.8+ support
- 21 Apr 2008 : v1.0 — Release notes.
Copyright & Disclaimer
Copyright © 2008-2009 by Scott Reilly (aka coffee2code)Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Acknowledgements
Thanks to all those who have contributed feedback and support!
