-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
67 lines (42 loc) · 2.21 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
=== Plugin Name ===
Contributors: (this should be a list of wordpress.org userid's)
Donate link: https://paypal.me/imobsphere?locale.x=en_GB
Tags: custom taxonomy, remove taxonomy slug, slug, taxonomy, clean url
Requires at least: 3.0.1
Tested up to: 5.8.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This plugin will help you to remove the default custom slug from the url which is common requirement for all the SEO lovers.
With less technical knowledge you can have this feautre into the place.
== Description ==
This plugin will give you the advantage of having the clean seo url. You can remove taxonomy slug and have the seo friend url by click couple of clicks.
This plugin can remove the custom taxonomy slug as well by going into the plugin settings.
You can do this by doing the admin login and check admin menu > Remove Taxonomy Slug Settings
Once you click on it you will be able to see all existing the taxonomy slug you just need to selected it and save the settings.
For the developer i have given the filter as well with the use of that filter you can directly add the slug in the array which will remove the slug.
Filter name is remove_taxonmy_slug_filter.
add_filter( 'remove_taxonmy_slug_filter',function ( $slug_list ){
return $slug_list
} )
In the above array you need to make sure that you pass the slug name as it is.
It is working with the below functions you just need to make sure that you have used the one of the below function to have the catgory link.
term_link
get_category_link
get_term_link
category_link
This plugin is compatible with custom post type ui as well.
Apart of this you can create the ticket for your query or reach me out for quick question on [email protected]
== Installation ==
This section describes how to install the plugin and get it working.
e.g.
1. Upload `remove-taxonmy-slug.php` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Goto admin menu and click on the taxonomy slug and select the slug from slug list.
4. You are done.
== Screenshots ==
1. Admin side setting screenshot.
== Changelog ==
= 1.0 =
* A change since the previous version.
* Another change.