ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Remove slug from custom post type

აღწერა

In WordPress 2.9 custom post type was introduced, that opened a new world for many WordPress developers.
When it comes to removing the slug and not destroying the rewrite rules for other post types this plugin works great.
This only concerns those who are using %postname% as permalink structure and want to add a custom post type so that
the urls for them are in the same way as normal posts and pages: http://siteurl/%custom_post_type_title%/.

Find more useful tips and plugins: Ultimate web tips

დაყენება

  1. Upload remove-slug-custom-post-type folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

ხდკ

Which permalink structure do I need to have for this to work?

This only works if permalink structure is “/%postname%/

მიმოხილვები

03.09.2016
Just install it and it will automatically remove the custom post slug from the post urls. Lovely <8
03.09.2016
It works OK, but when I uninstalled it broked my site (404 or redirect errors). I had to reset my htaccess file to make things work again.
21 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Remove slug from custom post type” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Remove slug from custom post type თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.0.3

  • Permalink regex fixed
  • Suffix feature added

1.0.2

  • Permalink bug fixed

1.0

  • Released