Skip to content

Commit a55e28b

Browse files
committed
updated readme with info for what taxonomies are shown
1 parent 0bb9497 commit a55e28b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ Clone or download this repository and add it to the `wp-content/plugins` directo
1010
## How to Use
1111
Go to **Settings > Archive Pages** and choose a page to set as the archive page for each taxonomy term. Pages must already be published.
1212

13+
The plugin uses the Settings API, so users must have 'manage_options' capability.
14+
1315
When a selected page is saved, the term_link filter replaces that page's URL replaces the taxonomy link ( term_link ) so that the user is directed to the taxonomy landing page instead of the auto-generated archive.
1416

1517
The term archive will still exist at its assigned URL, but there will be no navigation to it.
1618

17-
Available taxonomies are currently hardcoded: category, post_tag. Add more taxonomies to array $our_taxonomies in function archive_pages_settings_init()
19+
## Which taxonomies are affected
20+
The settings page lists all taxonomies that are set to "public" and "show in menu". This includes category, post_tag, and similar custom taxonomies for custom post types. It excludes post_format and other special built-in taxonomies.

0 commit comments

Comments
 (0)