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

Fix awards image #26

Open
jazzsequence opened this issue Jan 20, 2015 · 3 comments
Open

Fix awards image #26

jazzsequence opened this issue Jan 20, 2015 · 3 comments

Comments

@jazzsequence
Copy link
Owner

Currently a book can only have one awards image. But a book can have multiple awards. Replace the existing upload box with a multiple file upload box from CMB2 and add some way of relating awards images to their awards so you could then output a list of awards and get images and text.

@jazzsequence
Copy link
Owner Author

Can combine Awards Image box with Awards to make a single new Awards meta box, #28

@jazzsequence
Copy link
Owner Author

maybe we can do something where the awards image needs to have a class or a file name (or a name?) that matches the award and then check with php if an image exists for that award

@jazzsequence
Copy link
Owner Author

need to deal with the front-end aspect of associating an image with an award by name, but we'll run the image title or file name through sanitize_title and see if it matches the award name, and if so, associate the award with the award image

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

1 participant