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

Post also receives Pages #36

Closed
kaju74 opened this issue Sep 30, 2015 · 1 comment
Closed

Post also receives Pages #36

kaju74 opened this issue Sep 30, 2015 · 1 comment

Comments

@kaju74
Copy link

kaju74 commented Sep 30, 2015

You had to add the following line in the post class:

protected $postType = 'Post';

@jgrossi
Copy link
Member

jgrossi commented Sep 30, 2015

Hi @kaju74! You can customize classes to each custom post type you have too, like you said here. Thanks for the contribution.

@jgrossi jgrossi closed this as completed Sep 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants