Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
dotConnect for QuickBooks 1.9
dotConnect for Magento 1.9
dotConnect for Zoho CRM 1.10
dotConnect for FreshBooks 1.10
IP2Location Geolocation Database January.2020
dotConnect for BigCommerce 1.10
HTMLPad 2020 16.0
WeBuilder 2020 16.0
Top Code
SecureBridge 8.0
IP2Location Geolocation Database January.2020
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Devart ODBC Driver for PostgreSQL 3.2
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
ADO.NET Provider for ExactTarget 1.0
Bytescout PDF To HTML SDK 9.0.0.3079
TAdvGlowButton 1.2
SecureCI 2011.1.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Previous and Next Post in Same Taxonomy 1.0
File ID: 102228






Previous and Next Post in Same Taxonomy 1.0
Download Previous and Next Post in Same Taxonomy 1.0http://wordpress.orgReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 15
Submit Rating:
Previous and Next Post in Same Taxonomy 1.0 Description
Description: If you use next_post_link('%link', '%title', true) or previous_post_link('%link', '%title', true) to get the adjacent post for a custom post type which has a taxonomy assigned to it, it doesn't work as intended.

Those functions are all hardcoded to look to the taxonomy 'category'. This patch let's you change that if you'd like.

If you have a custom post type 'product' with a taxonomy 'color' and want the prev/next post links on the single product page to go to similarly colored ones, use this:

be_previous_post_link('%link', '%title', true, '', 'color'); be_next_post_link('%link', '%title', true, '', 'color');

Please post any issues you find on the Trac ticket so the core patch can be updated: http://core.trac.wordpress.org/ticket/17807

Functions available:

be_previous_post_link()
be_next_post_link()
be_adjacent_post_link()
be_get_previous_post()
be_get_next_post()
be_get_adjacent_post()
be_get_adjacent_post_rel_link()
be_adjacent_posts_rel_link()
be_next_post_rel_link()
be_prev_post_rel_link()
be_get_boundary_post()
be_get_boundary_post_rel_link()
be_start_post_rel_link()

Please see the source of the plugin for documentation. They should work just like the original functions, except they now accept an additional parameter, $taxonomy, that's set to 'category' by default.

Install :

This section describes how to install the plugin and get it working.

e.g.

Upload 'previous-and-next-post-in-same-taxonomy/' to the '/wp-content/plugins/' directory
Activate the plugin through the 'Plugins' menu in WordPress
Place one of the functions in your template. Ex: ''

License: Shareware

Related: Plugin, Source, start post rel linkplease, Documentation, Accept, original, boundary post rel link, boundary post, adjacent post, Post, previous post, adjacent post rel link, adjacent posts rel link, prev post rel link, post rel link, additional, paramete

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 15



More Similar Code

Adds links to the next and previous posts when editing a post in the WordPress admin.

This plugin adds "<< Previous" and "Next >>" links to the "Edit Post" admin page, if a previous and next post are present, respectively. The link titles (visible when hovering over the links) reveal the title of the previous/next post. The links link to the "Edit Post" admin page for the...



PHP 5 is required since version 1.2.

When displaying a single post, you might want to show links to the previous and next posts in the same category.

That's fine; WordPress let's you do this with previous_post_link() and...



If you are used to link the 'previous' and 'next' posts on a wordpress blog using their own title, you have probably noticed how more often than not too long titles can cause broken lines, hence unpredictable results in terms of page layout.



This plugin allows you to replace the default previous and next image links with a set of custom ones that print a text based link rather than a thumbnail of the image.

Installation :

Download the file Unzip and upload to...



The Photoblog module provides simple photoblog-style features:

* A single image per page.
* Navigation links to the previous and next image (in chronological order).
* Multiple photoblogs are possible by tagging posts with...



After reading this tutorial, you should be able to add previous and next links to your pages that display data from a database.



This module allows you to know the previous or next nodes for any given node. This is very useful for providing navigational links to the user without the expensive queries required to dynamically deduce such information on the fly.

The...



This module allows you to know the previous or next nodes for any given node. This is very useful for providing navigational links to the user without the expensive queries required to dynamically deduce such information on the fly.

The...



The guest book script can be added in to any web page.Configurable look and feelYou can view users comments one by one, with previous and next option.File based utility. No configurations required.Simple To Use



This plugin allows you to add simple pagination to your site using images for the previous and next links. Allows you the ability to display the current page and the total number of pages. Works with any template page (i.e. index.php, search.php,...

User Review for Previous and Next Post in Same Taxonomy
- required fields
     

Please enter text on the image