Remove Post Type Slug

الوصف

This plugin will give you the advantage of having the clean seo url. You can remove custom post type slug and have the seo friend url by click couple of clicks.

This plugin can remove the custom custom post type slug as well by going into the plugin settings.

You can do this by doing the admin login and check admin menu > Remove custom post type Slug Settings

Once you click on it you will be able to see all existing the custom post type 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_custom_post_type_slug.
add_filter( ‘remove_custom_post_type_slug’,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 post link.

post_type_link
get_the_permalink
the_permalink

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 akshay.shah5189@gmail.com

لقطات الشاشة

  • Admin side setting screenshot.

التنصيب

This section describes how to install the plugin and get it working.

e.g.

  1. Upload remove-post-type-slug.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

المراجعات

لا توجد مراجعات لهذه الإضافة.

المساهمون والمطوّرون

“Remove Post Type Slug” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Remove Post Type Slug“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • A change since the previous version.
  • Another change.