Thread Starter
TiBird
(@tibird)
Further to the above post.
I have your gallery shortcode now working in a post (:%).
Can i add code to set fields to load beside each gallery thumbnail:
- Title [standard field]
- Artist [custom field]
- Code [custom field]
- Value [custom field]
Thanks 🙂
This has been a really handy post and worked for me to add one new field.
However when i attempted to add a second custom field i the message:
Fatal error: Cannot redeclare add_image_attachment_fields_to_edit() (previously declared in /home2/taskbure/public_html/wp-content/themes/twentyeleven/functions.php:684) in /home2/taskbure/public_html/wp-content/themes/twentyeleven/functions.php on line 729
Line 729 is the } on the line below return $form_fields;
I have checked through there is no code missing from the post above.
Am i unaware of something obvious?
Any help would be appreciated.
Thanks 🙂