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
VisualNEO Web 2018.12.15
SentiMask SDK Trial 1.0.0
OrgChart JS 4.6.4
dotConnect for BigCommerce 1.8
FedEx Smart Shipping For Magento 1.0.0
Database Workbench Pro 5.6.2.311
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Hyperion Tools 1.0
bit plane slicing 1.0
Efficient K-Means Clustering using JIT 1.0
Azizi search engine script PHP 4.1.10
e-Classifieds: Commerce Edition 3.41
Cuckoo Search (CS) Algorithm 1.0
dbForge Search for SQL Server 2.3
RoundCube Webmail for Email Systems Utilities 0.1.1
Delphi Crt 120
Cuckoo Optimization Algorithm 1.0
PHP GZ Blog Script 1.1
Dragable elements Script for Graphics and Animations 1.1
iGesture - Gesture Recognition Framework 1.0
Shadelayer Highlighter 1
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
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
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.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