• Hello !

    I have set up cft template 0 and I can see all the custom fields right on a write post-page.

    When I put [cft format=0] or [cft] to normal WP-content field, and hit “update page”, content field changes to just display text: “array”. Same “array”-text is also visible when I see the post in a browser.

    Why is that ?

    My fields:
    [Description]
    type = textarea
    rows = 8
    cols = 60
    tinyMCE = false
    mediaButton = false
    output = true

    [Content]
    type = textarea
    rows = 8
    cols = 60
    tinyMCE = false
    mediaButton = false
    output = true

    [Recommended]
    type = textfield
    size = 35
    label = Recommended lessons, type in post ID’s (separate with ,)
    output = true

    [Required]
    type = textfield
    size = 35
    label = Required lessons, type in post ID’s (separate with ,)
    output = true

    This is what I have in [cft]-template 0:

    <div>
    [Description]
    [Content]
    [Recommended]
    [Required]
    </div>

    I’m using WP2.7.1 and have disabled all the other plugins.

    Jukka

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kinotus

    (@kinotus)

    What I already found out, was that after changing [Content]- field’s name to something else, things started working normally again.

    Could it be that there is similar fieldname in wp’s database that interferes ??

    Hiroaki Miyashita

    (@hiroaki-miyashita)

    content and post_title is used for the WordPress core name fields. The custom field template plugin uses custom field keys as the name fields. So they overlap the core fields. I may change the name fields into the unique names in the future release, but please be careful to use content and post_title as the custom field keys. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Field Template] [cft format=0] changes to Array when saving the post’ is closed to new replies.