1. Home
  2. Docs
  3. Data Projects
  4. One-To-Many relationships

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.
Was this article helpful to you? Yes 1 No 1

4 Replies to “One-To-Many relationships”

  1. 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?

    1. Hi Anna,

      Yes, you can show relationships on the front-end. Here are some demos:

      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,

  2. 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

    1. 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:

      Many to many relationships are explained here:

      The videos are outdated (sorry) but this concerns the layout only. The philosophy has not changed.

      Hope this helps,

Leave a Reply

Your email address will not be published.