2

Is there a wordpress way of creating a custom field just like the Featured Image field?

The field should be implemented in my custom meta box on the post edit page at the back-end.

  • There's a plugin for this that works so well that I've never bothered coding this myself. Multi Post Thumbnails. – Andy Macaulay-Brook Aug 12 '16 at 14:33
  • If you're looking for help with code then please do review How to Ask and post your first attempts to code this. – Andy Macaulay-Brook Aug 12 '16 at 15:15
  • @AndyMacaulay-Brook There are lots of plugins what are able to do this, for example Advanced Custom Fields. But I don't want to be depended on those plugins. That's why I'm asking for "a wordpress way" to achieve this, something like media_handle_upload() but then for media library browser as well. As of now I couldn't find a method what fulfills these features, that's why I ask this question. – Fleuv Aug 12 '16 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.