book-review-library icon indicating copy to clipboard operation
book-review-library copied to clipboard

Fix awards image

Open jazzsequence opened this issue 10 years ago • 3 comments

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 avatar Jan 20 '15 23:01 jazzsequence

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

jazzsequence avatar Jan 21 '15 01:01 jazzsequence

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 avatar Jan 26 '15 18:01 jazzsequence

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

jazzsequence avatar Jan 26 '15 19:01 jazzsequence