custom-post-type-permalinks icon indicating copy to clipboard operation
custom-post-type-permalinks copied to clipboard

Exclude a post type

Open Zack-Lockhart opened this issue 8 years ago • 4 comments

Is there a way I might exclude a custom post type from this plugin? Specifically I'm having issues with tribe events calendar. Not sure if this issue has been hashed out before but I wasn't able to find much.

Zack-Lockhart avatar May 12 '17 21:05 Zack-Lockhart

@Zack-Lockhart Sorry late reply.

I will implement the idea in the next version.

torounit avatar May 26 '17 23:05 torounit

new filter next version (3.2.0);

Disable CPTP by post_type.

add_filter( 'CPTP_is_rewrite_supported_by_' . $post_type, '__return_false' );

torounit avatar Nov 15 '17 18:11 torounit

Awesome! Thanks!

Zack-Lockhart avatar Nov 15 '17 18:11 Zack-Lockhart

I'm sorry to be late. I'll release when the test is completed.

if you can please try, https://github.com/torounit/custom-post-type-permalinks/tree/issue/%2381

torounit avatar Nov 16 '17 02:11 torounit