Опис
Instantly join separate posts together by making the Previous/Next Post links on a Single Post look for other posts that share the same taxonomies.
This lightweight plugin simply adds a filter to your selected taxonomies (both default and custom) so that any theme can have its post navigation links stay in the same category as the currently viewed post.
Постављање
- Upload the plugin files to the /wp-content/plugins/keep-pagination-in-same-taxonomy/ directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to the Settings -> Reading page to configure the plugin, picking which taxonomies should be affected.
ЧПП
-
Why Isn’t It Linking To The Post I Expected?
-
Be sure that you’ve only selected the taxonomies that are shared between the posts you want to link together AND that you aren’t asking for the posts to match them all!
Eg. With the „ALL“ option, if you select both Categories and Tags, then a post which has a category and some tags will NOT find other posts that only have the same category but no tags.
-
Why Can’t I See Any Difference?
-
Check your theme is actually using Previous/Next Post links on the Single Post pages – eg. you may need to add that block to the default 2022 and 2023 WP themes, as they no longer seem to have that initially set up for you.
Прегледи
Сарадници и градитељи
Keep Pagination in Same Taxonomy је софтвер отвореног кода. Следећи људи су допринели овом додатку.
СараднициПреведите Keep Pagination in Same Taxonomy на свој језик.
Заинтересовани сте за градњу?
Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.
Белешка о изменама
0.15
- Fix: Stopped creating deprecated dynamic properties for PHP 8.3
0.14
- Tested with WP 6.7.2
- Fix: moved the translation text domain loading to later in the init and changed it to be the plugin slug
0.13
- Tested with WP 6.4 and 6.5
- Fix: only show public taxonomies in the Settings
- Fix: call our Settings page later in the init() hook so we can include custom taxonomies (was inadvertently dependent on plugin activation order before)
0.12
- Tested with WP 6.3.2
0.11
- Fix: check if we’ve excluded all the terms from a taxonomy
0.1
- Initial release.
