Episode 06 • Wordpress Custom Post Types and Custom Fields

Reference fields

In this episode I answer a viewers question about referencing fields from different custom type.

This time I'm going to show you how to reference field or fields from different custom types in WordPress. So what does that mean? It means that we can have a special field in our custom type that will give us the ability to choose a relationship between our custom type and another custom type and it's custom fields.

In this example instead of writing authors name for our "books" custom type we will choose it from a dropdown list of already available authors. And by doing this we will get access to that custom type and it's fields that we will use in our templates.

  • Episode 01 • Duration 27:14

    Setting up custom post types and fields

  • Episode 02 • Duration 16:35

    Single Pages, Archives, Linking It Together

  • Episode 03 • Duration 11:27

    Using Custom Field Value

  • Episode 04 • Duration 13:48

    Comparing Dates and Making Events List

  • Episode 05 • Duration 22:58

    Repeater Fields

  • Episode 06 • Duration 25:53

    Reference fields

  • Episode 01 • Duration 27:14

    Setting up custom post types and fields

  • Episode 02 • Duration 16:35

    Single Pages, Archives, Linking It Together

  • Episode 03 • Duration 11:27

    Using Custom Field Value

  • Episode 04 • Duration 13:48

    Comparing Dates and Making Events List

  • Episode 05 • Duration 22:58

    Repeater Fields

  • Episode 06 • Duration 25:53

    Reference fields