Skip to content

Add and read field in meta box #6

Description

@danielmrey

Hi:

How can I add a value in the "Title" field inside the "Profile Fields" in the Meta Box from a front end form? I tried this but writes in the meta box and also the custom field:

add_post_meta($pid, 'profile_title', $metabox, true);

And the same for reading from the front end, this reads the custom field but not the meta box:

echo get_post_meta($post->ID, 'profile_title', true);

Thank you!

Daniel.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions