
Fix the not-excluding terms bug of `get_adjacent_post()`.
| Author: | Kite (profile at wordpress.org) |
| WordPress version required: | 3.9 |
| WordPress version tested: | 3.9.40 |
| Plugin version: | 1.0 |
| Added to WordPress repository: | 25-06-2014 |
| Last updated: | 07-08-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 100 |
| Rated by: | 2 |
| Plugin URI: | https://github.com/ixkaito/fixed-adjacent-pos... |
| Total downloads: | 2 350 |
| Active installs: | 60+ |
![]() Click to start download |
|
Usage:
-
get_fixed_previous_post( $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
get_previous_post()
- instead of
-
get_fixed_next_post( $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
get_next_post()
- instead of
-
get_fixed_adjacent_post( $in_same_term = false, $excluded_terms = '', $previous = true, $taxonomy = 'category' )- instead of
get_adjacent_post()
- instead of
-
get_fixed_adjacent_post_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $previous = true, $taxonomy = 'category' )- instead of
get_adjacent_post_rel_link()
- instead of
-
fixed_adjacent_posts_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
adjacent_posts_rel_link()
- instead of
-
fixed_adjacent_posts_rel_link_wp_head()- instead of
adjacent_posts_rel_link_wp_head()
- instead of
-
fixed_next_post_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
next_post_rel_link()
- instead of
-
fixed_prev_post_rel_link( $title = '%title', $in_same_term = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
prev_post_rel_link()
- instead of
-
get_fixed_previous_post_link( $format = '« %link', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
get_previous_post_link()
- instead of
-
fixed_previous_post_link( $format = '« %link', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
previous_post_link()
- instead of
-
get_fixed_next_post_link( $format = '%link »', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
get_next_post_link()
- instead of
-
fixed_next_post_link( $format = '%link »', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' )- instead of
next_post_link()
- instead of
-
get_fixed_adjacent_post_link( $format, $link, $in_same_cat = false, $excluded_terms = '', $previous = true, $taxonomy = 'category' )- instead of
get_adjacent_post_link()
- instead of
-
fixed_adjacent_post_link( $format, $link, $in_same_cat = false, $excluded_terms = '', $previous = true, $taxonomy = 'category' )- instead of
adjacent_post_link()
- instead of
ChangeLog
