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

  1. Hotcoffee
    Posted 5 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]

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

  2. Hiroaki Miyashita
    Plugin Author

    Posted 5 years ago #

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

  3. Hotcoffee
    Posted 5 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Field Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic