Remove Parents
v1.0alekc · 2007年9月27日 上架
Remove Parents is a tiny plugin which remove "category" and parent categories from permalink.
- 正在使用
- 80+
- 评分
- 暂无
- 累计下载
- 8,550
- 最近更新
- 2007年9月27日
贡献者
Sometimes you don’t want to show parent directories in permalink because they are not really necessary or because you know that in the future your child directory will change it’s parent.
For example:
+Work in progress
–Site 1
–Site 2
+Work Finished
–Site 3
In this case Site 3 originally have been part of “Work in progress”, and on job done it has been moved under “Work Finished”.
So if you install this plugin your link will be transformed in this way:
domain.com/parent_category/child_directory/post_name => domain.com/child_directory/post_name
domain.com/category/parent_category => domain.com/parent_category
domain.com/category/parent_category/child_directory => domain.com/parent_category/child_directory