WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Template
[resolved] Keys with spaces not outputting...whats wrong with my shortcode? (3 posts)

  1. Hotcoffee
    Member
    Posted 3 years ago #

    WordPress 3.0
    Custom Field Template 1.7.1 ( latest )

    My custom field metadata is not showing up on my posts if I have a space in the custom field keyname. Any ideas what I'm doing wrong?

    The following does not work for me:
    I'm using the short code in my post: [cft key=Rate_Adult]

    And I'm using this as the custom field key: [Rate Adult]

    However this does work: ( noticed I removed space in the field key )
    [cft key=RateAdult]
    [RateAdult]

    Is my short code incorrect? Sorry to ask but the documentation seems pretty slim on this. Thanks for any ideas.

  2. Hiroaki Miyashita
    Member
    Plugin Author

    Posted 3 years ago #

    Please try to add the quotation mark like this: [cft key="Rate Adult"]

  3. Hotcoffee
    Member
    Posted 3 years ago #

    Thank you... everything is working now! I'll try to donate if we end up using the plugin.

    Wes

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic