Timeline for Setting featured image with function, 1 part not working
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 30, 2013 at 19:59 | history | tweeted | twitter.com/#!/StackWordPress/status/329324266090799104 | ||
Apr 30, 2013 at 18:57 | answer | added | Eckstein | timeline score: 1 | |
Apr 30, 2013 at 18:25 | history | edited | Eckstein | CC BY-SA 3.0 |
Changed code to reflect advice in first answer.
|
Apr 30, 2013 at 18:17 | answer | added | tfrommen | timeline score: 2 | |
Apr 30, 2013 at 18:11 | comment | added | Eckstein | Some more context: Each custom field outputs the ID of an image. I've double checked that this it the case. Also, 'create_gallery' retrieves two values, 'upload_image' and 'image_caption'. I am using the plugin Advanced Custom Fields to loop through this data to allow my users to create galleries of images/captions. I just want to the first image in the table to be the featured image. | |
Apr 30, 2013 at 18:04 | history | asked | Eckstein | CC BY-SA 3.0 |