Term Pages

Description

If you want to customize a taxonomy archive, create a page and connect it with the term that should be overwritten. Visitors of that term archive are then redirected to the page with a 301.

Works with categories, tags and every custom taxonomy that has an admin UI. Paginated archive pages such as /category/news/page/2/ are left untouched, so the rest of the archive keeps working.

This plugin is reasonable to use with Grid, so you can create beautiful pages for your topics.

Captures d’écrans

Installation

  1. Install Term Pages from the plugin directory, or upload term-pages.zip to /wp-content/plugins/ and extract it there
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit a category, tag or custom taxonomy term and pick a page in the « Overriding page » field

FAQ

Which pages can I connect?

Published pages. The autocomplete only offers pages with the post type page and the status publish.

Why is my archive not redirecting?

The redirect only happens on the first, unpaged view of the archive, and only while the connected page is still published. If the page was trashed, set to draft or private, the archive shows its normal listing again.

How do I remove a redirect?

Clear the « Overriding page » field and save the term.

Does the plugin change my permalinks?

No. It only redirects. The term archive keeps its URL and remains reachable from page 2 onwards.

Avis

22 mars 2019
This is just a great idea! I’ve been nursing the same idea for several years. Why in native WordPress there is no possibility to specify a custom page for taxonomy without using PHP. And now -I've found your plugin! Super! You are well done! It is very strange that he still has not gained popularity (I think – it's because title not so good – it's hard to understand the purpose of it). I just ask you do not abandon your plugin and update it to the new version of WordPress.
Lire l’avis

Contributeurs/contributrices & développeurs/développeuses

« Term Pages » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Term Pages » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

3.0.0

⚠ BREAKING CHANGES
* requires PHP 8.0 or newer

Features
* drop support for PHP 7.4 (cf43ed2)

Bug Fixes
* page search without jQuery UI, Plugin Check clean (64b78b9)
* show special characters in page titles correctly in the page search (b1d087e)

2.0.0

⚠ BREAKING CHANGES
* the unauthenticated wp_ajax_nopriv_tp_lookup endpoint has been removed, the page search now requires a logged-in user with the capability to edit terms of the taxonomy. The plugin requires WordPress 6.2 and PHP 7.4, and the bundled remove.js was replaced by admin.js.

Bug Fixes
* prevent unauthenticated SQL injection in the page lookup (reported by Joao Ramos Maciel, WPScan) (6c28285)

1.0.3

  • Bugfix: wrong countable $term check

1.0.2

  • Bugfix: Remove warning

1.0.1

  • Bugfix: Missing argument 2 for Term_Pages::save_extra_field()

1.0

  • First release