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

Magazine issue management #43

Open
epicfaace opened this issue Nov 16, 2018 · 1 comment
Open

Magazine issue management #43

epicfaace opened this issue Nov 16, 2018 · 1 comment
Labels

Comments

@epicfaace
Copy link
Member

epicfaace commented Nov 16, 2018

Problem: We have a magazine site now (https://www.stanforddaily.com/category/magazine/) with a cool slider, but the magazines are hardcoded: https://github.com/TheStanfordDaily/stanforddaily-website/blob/master/wp-content/themes/jnews-child/category-magazine.php

Solution: Need to make a custom post type called "Magazine Issue" where people can edit metadata such as magazine issue number, upload covers, etc. The magazine theme file should pull from this custom post type, rather than hard-coding the issues. See this plugin for an example of making a custom post type: https://github.com/TheStanfordDaily/stanforddaily-website/blob/master/wp-content/plugins/tsd_plugin_magazine_posts/tsd_plugin_magazine_posts.php

@hesyifei
Copy link
Contributor

See ef4cbe5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants