0

ok...

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 )

  • 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
  • 2
    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
  • 1
    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
1

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

0

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.

http://www.deluxeblogtips.com/2010/05/howto-meta-box-wordpress.html

Your Answer

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