One-To-Many relationships IMPORTANT Please notice that tab Manage Table Options is no longer available from the Data Projects page. Table Options was renamed to Project Templates and can now be accessed directly from the plugin menu. Doc navigation← Projects and templatesMany-To-Many relationships → Was this article helpful to you? Yes 1 No 1 4 Replies to “One-To-Many relationships” Hello, I love your plugin and its amazing configurability for non-programmers! I want to make a recipe database that is going to have recipes with many ingredients. (similar to your department to employees one to many relationship) What I am trying to understand is if these one to many relationships are only configurable on the back end? I’d like to be able to display the recipe, with ingredients and nutrition on the user side. Is this possible with this plugin? Reply Hi Anna, Yes, you can show relationships on the front-end. Here are some demos: https://wpdataaccess.com/demos/data-forms-project-demo/ https://wpdataaccess.com/demos/demos-data-projects/data-project-parent-child-demo/ The first demo uses Data Forms and requires a premium license. The second demo adds the back-end solution to the front-end and is available within the free version as well. Please be aware that the second demo does not work on a homepage, and there is no garuantee it works with all themes. Data Forms does not have these limitations. Let me know if you need help! 🙂 Best regards, Peter Reply Hi and thanks for the free plugin! However, I can’t find out a way to reference a foreign table/create a relationship. I want to extend the wp_users table with further information. For this, I’d like to create my own new table and want to set a reference to the original wp_users table ID. How can I do that? The video is outdate 🙁 Thanks in advance Julian Reply Hi Julian, WordPress is used on a wide varity of servers using many different version of MySQL and MariaDB. Not all these DBMS’s support foreign key constraints. That’s why WP Data Access has its own implementation of relationships. You can define relationships in Project Templates. This is explained here: https://wpdataaccess.com/docs/documentation/data-projects/overview/ Many to many relationships are explained here: https://wpdataaccess.com/docs/documentation/data-projects/many-to-many-relationships/ The videos are outdated (sorry) but this concerns the layout only. The philosophy has not changed. Hope this helps, Peter Reply Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment.