• Resolved winosity

    (@winosity)


    I have a panel with a custom field group called survey and author. I have found the data for the survey field group in the database. But, I can’t find where the relationship between the field group and author is kept in the database. I need to be able to attribute each survey field group response to the user/author that created the data. Can you help me with that?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I assume it’s probably the wp_postmeta table. We don’t facilitate anything with meta data directly, we just make sure a post type receives metadata support. Otherwise I wonder if there’s a plugin like Advanced Custom Fields that you’re using to also manage this.

    Thread Starter winosity

    (@winosity)

    Yes, we are using Advanced Custom Fields. The part that’s confusing me is that author is not a custom field, right? It’s a standard field within WordPress, correct?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Nothing stopping someone from storing author info as a standard text field with ACF. You’d need to check your ACF Settings for that part and if things are being set that way.

    Otherwise, a user ID is stored in the wp_posts row for each post, in a “post_author” column. This is for the WordPress native method.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Author field relationships in database’ is closed to new replies.