Grow your CSS skills. Land your dream job.

WordPress custom post types: Uploading custom number of images

  • # November 15, 2012 at 5:25 am

    Hi!
    I’m currently coding a wordpress template for a photographer and need some help to get my thinking going!
    I need to create a custom post type that holds:

    1) Featured Image

    2) Text

    3) Any amount of images (approximately 1-20 images) put together two and two within a div.

    The third step is kind of killing me right now. I know how to insert an image uploader, but this only lets me upload one image. How would I go about to let the user upload a multiple amount of images (for each post).

    Thank you!

    # November 15, 2012 at 8:54 am

    I use an attachment plugin

    # November 15, 2012 at 9:21 am

    Such as this?

    http://wordpress.org/extend/plugins/attachments/

    # November 15, 2012 at 2:06 pm

    @Limex Yes, exactly. By the way, you can upload multiple images in the main editor below the title. If you’re talking about uploading more than one image at a time well, the plugin I mentioned above will not work.

    # November 15, 2012 at 6:54 pm

    I’ve tried it, and its great! :)

    Thanks for your help!

    # November 15, 2012 at 6:56 pm

    @LimeX Awesome. Glad it worked out for you.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".