WordPress.org

Ready to get started?Download WordPress

Forums

add multiple values to one custom field - how to? (5 posts)

  1. MatthewRuddy
    Member
    Posted 3 years ago #

    Hi. I've figured out how display mutiple values from one custom field name, however I don't have a clue how I could write them.

    I want to create a custom post metabox that has (for example) three text boxes each for the one custom field name 'sliderimg'. When the user updates or publishes the post, I want those three text box values to be added to the field 'sliderimg'. These three images can be echo'd onto that theme page using PHP foreach..

    How can I achieve this?

  2. MatthewRuddy
    Member
    Posted 3 years ago #

    Can anyone help out? I would really would appreciate some help. I want to create something similar to what this theme achieves:

    http://s3.envato.com/files/1163033/images/5_backend_post.png

    (Check out the right hand side). This theme is called 'Habitat' by Kriesi on themeforest.net..

  3. chinmoy
    Member
    Posted 3 years ago #

  4. MatthewRuddy
    Member
    Posted 3 years ago #

    I already know how to do this.. What I'm trying to do is to achieve the same thing except with custom metaboxes. I cannot figure out how to display a text box for each value and also allow that text box to edit the value..

  5. Harpinder
    Member
    Posted 3 years ago #

    Hi MatthewRuddy,

    Could you please tell me the plugin you have used at right hand side for feature images (http://s3.envato.com/files/1163033/images/5_backend_post.png)

    I want to add as many images from page/post.

    Thanks in advance,
    Harpinder

Topic Closed

This topic has been closed to new replies.

About this Topic