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

Create a custom post type for swagpaths #48

Open
limikael opened this issue Feb 24, 2016 · 0 comments
Open

Create a custom post type for swagpaths #48

limikael opened this issue Feb 24, 2016 · 0 comments

Comments

@limikael
Copy link
Contributor

If we create a custom post type, we can have the swagpaths appear under its own page and have its own menu item in the admin menu, rather than being mixed in with the pages. We would also be able to eventually customize the UI, so we can make it "swag specific". E.g. rather than manually entering shortcodes we could do it via a button (add swagifact), and rather than manually entering the "requires" and "provides" custom fields, this could also be done via a UI. This would make it easier to create and manage swagpath, and would ensure that it is done correct, so that nothing ends up outside the [course] shortcode for example.

But the first step would be to create a custom page type. There is information on how to create custom post types here:

https://codex.wordpress.org/Post_Types

It doesn't go into depth when it comes to explaining how to create and customize the UI. Actually there is no information about that at all, so some more research is needed.

@munga4 munga4 self-assigned this Mar 18, 2016
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