• Hi
    I have some custom fields which I’d like to appear in my custom post.

    Under “sections to display when editing MyPostType” I’ve ticked Custom Fields and I see the custom fields in post edit, but when I enter the shortcode [types field=”my-custom-field”][/types] into the editor, I receive a blank screen when viewing the post.

    How do I get the shortcode to display my custom field?

    Thanks for any help
    David

    https://wordpress.org/plugins/types/

Viewing 1 replies (of 1 total)
  • Anonymous User 14808221

    (@anonymized-14808221)

    Please use the GUI to insert your Custom Fields created with Types plugin.
    This the way you need to insert Custom Fields to your Post Body.

    This works fine, and if you get a White Page, it most likely is a fatal error, not just the field not displaying, but something bigger.

    I suggest to enable WP Debug Mode to see what the error is.
    Please also refer to our DOC:
    https://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/

Viewing 1 replies (of 1 total)

The topic ‘custom fields with shortcode not appearing’ is closed to new replies.