WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Simple Fields - Display multiple options in one field group (2 posts)

  1. RForster92
    Member
    Posted 1 year ago #

    Hi All,

    I'm basically trying to build a site which allows the client to input 4 separate images in a particular area.

    However, i'm having a bit of an issue trying to get all 4 images into 1 singular field group, instead of having 4 separate field groups.

    My code (as it stands) is this:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Can anybody explain how I can get the 4 above custom fields, to display in one Field Group.

    (I am using simple fields as the plugin to do this).

    Thanks!

  2. RForster92
    Member
    Posted 1 year ago #

    I figured it out in the end, you have to change the "[1]" in the code to which ever the ID is. And obviously as mine was all set to "[1]" it was just repeating the first image!

Topic Closed

This topic has been closed to new replies.

About this Topic