WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
Multiple related custom fields (2 posts)

  1. JCIstevens
    Member
    Posted 2 years ago #

    I would like to add custom field functionality to posts where a user can add:
    Name of Advertiser (text field)
    Advertiser Link (text field)
    Add another advertiser (create another advertiser set like above)

    The user should be able to add as many links as needed. The post template would then need to display this set of fields as typical links in alphabetical order.

    How can I accomplish this with this plugin?
    Thanks

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the delayed response, I was not receiving notifications from WP :(

    You can do this, but it requires custom coding, so I won't go into detail. You'd need to write your own class of custom field: http://code.google.com/p/wordpress-custom-content-type-manager/wiki/CustomCustomFields

    Each field is normally mean to store one value, or a list of those same values. What you require is a type of field that stores an array of HASHes... data structure is very different there, but I just did this for a client, so it's quite possible, I just haven't had time to document it for posterity yet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic