Skip to content

epigrade/no-parent-taxonomy-slug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

=== No Parent Taxonomy Slug ===

Contributors: Epigrade
Tags: taxonomy, taxonomies, category, categories, slug, url, permalink, parent, child
Requires at least: 2.5
Tested up to: 6.2
Stable tag: 1.0
License: MIT
License URI: https://opensource.org/license/mit/
Requires PHP: 4.3

Remove parent taxonomy slug(s) from term permalinks.

== Description ==

Remove parent taxonomy slug(s) from term permalinks for hyerarchical taxonomies. That means an URL like `https://www.example.com/category/animals/dogs/german-shepherd/` becomes `https://www.example.com/category/german-shepherd/`.

== Installation ==

In WordPress admin section, navigate to `Plugins > Add New` and search for `No Parent Taxonomy Slug`. Once you find it, click on `Install` then on `Activate`. There are no settings or options for this plugin, it only requires installation and activation.

From then on, all hyerarchical terms will have their parent slugs(s) removed in the permalinks.

== Changelog ==

= 1.0 =
* First public release of plugin