Toolset Types
[resolved] TYPES wpcf annoying prefix!!!! How can i remove this prefix? (5 posts)

  1. Nazakat Ali
    Posted 2 years ago #

    Is there a way to disable the prefix wpcf- of custom fields created with TYPES plugin?

    Can any one give the appropriate solution? I shall be very thankful to him?......


  2. Adriano Ferreira
    Plugin Author

    Posted 2 years ago #

    Dear Nazakatali,

    Unfortunatelly that's not possible.

  3. Nazakat Ali
    Posted 2 years ago #

    Why it's not possible?

  4. lernerconsulting
    Posted 2 years ago #

    All plugin authors have to make sure their custom fields (and function names, and file names) are unique -- to avoid conflicts with other plugins.

    They also need to be able to look at and work with all of their fields, without looking at any other author's fields.

    One of the best ways of doing that is to use a (hopefully unique) prefix.

    'wpcf' might not be the absolute best prefix, since any author might pick wpcf for their 'WordPress custom field'; but 'typescfacptm_' (from Types - Custom Fields and Custom Post Types Management) is even more unwieldy, isn't it?

  5. Srdjan
    Posted 2 years ago #

    You can try adding custom field under Types control.

    1. Create custom field without prefix on post edit screen using WP built-in custom field editor (meta box Custom Fields).

    2. Go to screen:
    Types->Custom Fields Control

    2. Select some field not created by Types (marked 'Not under Types control' on 'Type' column)

    3. Use bulk actions dropdown to add to Types control
    Bulk Actions -> 'Add to group'

    Custom field without prefix should be added to selected group as Textfield (Single line).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Toolset Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic