-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add menu_position #59
Comments
This is achievable with the options passed when creating the post typ: $books = new CPT('book', array(
'menu_position' => 5
)); But I can see how adding an additional method may be useful. I'll consider it in the next release. Thanks :) 👍 |
Ah ok, is there any difference in what I have done? is it better to do your route? Thanks |
@WebbizAdmin No, they both pretty much achieve the same thing with the same option, just a slightly different way. Just the version I've provided is already available. I think you're onto a winner, the options passed when creating the post type is quite a large array, so it could be useful to break it up with some additional methods in the class. For example Thanks, :) |
Cool, Great class you created by the way! |
Tried to add the CPT higher on the menu.
This works.
The text was updated successfully, but these errors were encountered: