Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude a post type #76

Open
Zack-Lockhart opened this issue May 12, 2017 · 4 comments
Open

Exclude a post type #76

Zack-Lockhart opened this issue May 12, 2017 · 4 comments
Assignees

Comments

@Zack-Lockhart
Copy link

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.

@torounit torounit self-assigned this May 26, 2017
@torounit
Copy link
Owner

@Zack-Lockhart Sorry late reply.

I will implement the idea in the next version.

@torounit
Copy link
Owner

new filter next version (3.2.0);

Disable CPTP by post_type.

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

@Zack-Lockhart
Copy link
Author

Awesome! Thanks!

@torounit
Copy link
Owner

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 torounit mentioned this issue Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants