WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


let me explain:

i have an example post in wp admin

and i want to add :

  • some text (already added via the posts editor)
  • some custom stuff (some taxonomy that i have already added)
  • some videos
  • and some images

How can i do this?

I don't know how to add the videos and images after the content (the text )

share|improve this question
Do you want to upload videos and images from your computer or add them from some external resource? – Rarst Dec 28 '10 at 12:38
the videos will be from youtube and the images local – m3tsys Dec 28 '10 at 12:58
Is there a reason you can't add these images and/or videos into the post content, the editor already provides a good UI for adding media items, and the built-in oembed support works for the big players like YouTube and Vimeo, amongst others.. – t31os Dec 28 '10 at 13:15
well... the only thing is their display order – m3tsys Dec 28 '10 at 13:19
Videos will display in the order the URLs are input into the content. For images, use the WP gallery feature and fill in the order fields that appear(these set the order) with numeric values, lowest will show first, higher later... – t31os Dec 29 '10 at 13:06

so you can do that with the use of custom fields, you can use custom fields, to add images and videos check this answer it might help you

share|improve this answer
I've added some explanations – m3tsys Dec 28 '10 at 12:28
@m3tsys check my answer – ntechi Dec 28 '10 at 12:42
i've added the video as custom field :) thank you. – m3tsys Dec 28 '10 at 12:59
but what can i do with the images? I want to be like a small gallery of 5-6 images – m3tsys Dec 28 '10 at 13:00
for images check this link justintadlock.com/archives/2007/10/27/… if you want plugin then this might help you wordpress.org/extend/plugins/custom-field-images – ntechi Dec 28 '10 at 13:09

Here is a complete tutorial with source files that do exactly what you want,
You can upload multi images by cloning the input field and also you can preview, delete images with ajax, add multi metaboxes to multiple/different post types and more.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.