• Resolved sailpilot

    (@sailpilot)


    Is there a way to add a custom field to older (existing posts)?

    I thought that there may be a way to do this when editing a post through the backend but don’t see it.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Yes you don’t need USP to manage custom fields. You can view all custom fields attached to any posts via the “Custom Fields” meta box, located on the “Edit Post” screen for any post. There, you can edit, delete, add custom fields as needed.

    Thread Starter sailpilot

    (@sailpilot)

    Thanks but I don’t see that there is a way to add the custom field when editing the post.

    The “Custom Fields” box only displays those custom fields that are already attached to the post. There is no add option.

    The other box called “Add New Custom Field” provides a drop down list of available fields to add (and associated value) but there is no way to actually add a new custom field by adding the field’s name. And the custom field we added using the User Submitted Posts plugin does not appear in the drop down list.

    Plugin Author Jeff Starr

    (@specialk)

    Try clicking on the link that says “Enter new”, located just beneath the select/dropdown field (where you select existing names).

    Thread Starter sailpilot

    (@sailpilot)

    That only works if you select a field from the drop down list.

    You can’t add a new field.

    Plugin Author Jeff Starr

    (@specialk)

    I just used it to add three custom fields very quickly. This works with both Gutenberg and the Classic Editor. Been that way for years and years and years.

    Thread Starter sailpilot

    (@sailpilot)

    That’s very strange.

    When I click on the Add button nothing happens unless I pick a field from the drop down list.

    And we are on the latest version of WordPress.

    Plugin Author Jeff Starr

    (@specialk)

    Yeah normally you just click the link, type a name and value then save changes. If that is not working for you, there probably is something interfering with normal functionality. You can see how it works on a new WP install (using default theme and no plugins active).

    Thread Starter sailpilot

    (@sailpilot)

    Just figured it out. There is some conflict with the Advanced Custom Fields plugin.

    We used it in the past but disabled it. Even though it was not active it seems to disable the ability to add new custom fields in that box.

    I deleted the plugin and now there is an option that appears in the box right below the drop down list that allows you to add a new field.

    I added the field and it works.

    Thanks again for your time and quick response.

    • This reply was modified 2 years, 11 months ago by sailpilot.
    Plugin Author Jeff Starr

    (@specialk)

    Ah good to know, thanks. Glad you figured it out.

    Best of luck with your project.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Add custom field to older posts’ is closed to new replies.