WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Template
override the displayed name (2 posts)

  1. zandercent
    Member
    Posted 3 years ago #

    If my custom field has to be called something ugly for database reasons, like [cft-custom-expiration-date], is it possible to give it a nicer looking name when the user is making a post.

    So I'm looking to make the visible name different from the name the custom field uses in the database or in the templates.

    thanks

  2. eastbank
    Member
    Posted 3 years ago #

    You can hide the ugly key by using the 'hideKey = true' option, then use the 'label = Your Nice Label' option to give it a nice looking label.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic