relationships with CPT and acf

[ad_1]

I need to create a content type to record training hours recorded by students.

One student CPT will have many training hour records.

If I was building a mysql database I would create 2 tables and relate one to the other by storing the primary key of the student records as a foreign key in the training hours record.

Is this approach the same with ACF and a custom post types and is a their a relationship automatically created between a user and a post when they create a post ?

[ad_2]
1 Comment
  1. Have you read the document and examples – they explain it well [https://www.advancedcustomfields.com/resources/relationship/])

    To answer your question – no, WP and ACF does not creates sep tables like you would with SQL – everything is done via posts and post meta.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer