WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Types – Custom Fields and Custom Post Types Management] image/file custom fields only store

[Plugin: Types – Custom Fields and Custom Post Types Management] image/file custom fields only store

  • As far as I can tell, the available custom fields only support storing the url, rather than the attachment ID. This makes custom fields not very useful at all.

    Does anyone have any more information about this? The developers seem set on closing out anyone who doesn’t purchase a support option – you can’t even read the forums without an account. As has been pointed out, the documentation is sparse.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • I haven’t tried the File field type, but the Image field type does let you choose an image using the usual image-selection popup (ie, upload/Media library). But I don’t know why you think it is not useful whether a URL or an internal ID is stored, as long as the user can access the image or file.

    Useful to some. In my environment, the attachment ID is required. The URL includes the domain name and I am moving my data between development and production servers, so the stored image url is not working for me.

    In other custom fields I have worked with, there is an option to choose whether you want to store the URL (which does save time accessing) or the ID (which makes the data more portable).

    Plugin Author Amir Helzer

    @amirhelzer

    The complete documentation for different custom fields and their attributes is here:
    http://wp-types.com/documentation/functions/

    A field like you’re describing doesn’t exist. However, Types lets you extend field types. You might want to try and create such a field yourself.

    Have a look here:

    Types 0.9.4 Adds CF Group Display per Templates, Field API and Bug Fixes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] image/file custom fields only store’ is closed to new replies.