Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Remove Parents

Описание

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

Установка

  1. Upload remove_parents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set your permalink structure as «/%category%/%postname%» (or something like «/%category%/%postname%.extension»)
  4. Set your Category Base empty.
  5. Test everything and let me know if you find some bug 😉

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Remove Parents» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Remove Parents» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.