How to Get Started with WordPress Relationships? | JetEngine from A to Z course

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ค. 2024
  • Paul Charlton from @WPTuts explains all the ins and outs of getting started with the #JetEngine #WordPress #relationships.
    🚀 Paul C explains how to configure one-to-many WordPress relationships type and connect the user with their property.
    🚀 Don’t forget to create the meta fields with the required information about managers and the property they are associated with.
    🚀 Follow the detailed guidelines on setting each and every option and displaying them on the frontend.
    Get JetEngine: bit.ly/36NJQq7
    📝Creating User roles with any WordPress plugin (e.g., Publish Press)
    ► bit.ly/3NEFIsS
    📝Using Glossaries in JetEngine
    ► bit.ly/3iYKHGV
    ►How to create a Custom WordPress Taxonomy?
    • How to create a Custom...
    ---------------
    ► TIMESTAMPS
    0:00 - Introduction
    01:29 - Brief Overview of Things Created in Advance
    02:41 - Creating and Setting up the Relationship
    05:56 - Connecting Properties CPT to Users
    07:52 - Connecting Users to Properties CPT
    09:23 - Creating Property Manager Listing Item
    14:32 - Adding Property Manager Listing Item to Single Property Template
    16:49 - Testing Relationships on the Front-end Case#1 - Single Property
    17:24 - Adding User (Manager) Information into Property Listing Item
    20:00 - Testing Relationships on the Front-end Case#2 - Property Listing Grid
    ---------------
    WPTuts channel - bit.ly/2ytz7zI
    JetEngine beginners guide by WPTuts - • Dynamic WordPress Webs... ​
    JetEngine from A to Z University
    • JetEngine from A to Z ...
    ---------------
    More about JetEngine on Crocoblock:
    JetEngine | Tutorials playlist 👉 • JetEngine | Tutorials
    JetEngine in Knowledge Base
    ► bit.ly/3J0qTNX
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 96

  • @redtvtalks3464
    @redtvtalks3464 2 ปีที่แล้ว +4

    Please make a video on jet formbuilder paid features.

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Could you please describe in more detail what topics you would like to see in the video?
      Thanks 🙂

  • @Crowedge
    @Crowedge 2 ปีที่แล้ว +2

    Awesome tutorial! Thanks Paul!

  • @theoria.digital
    @theoria.digital ปีที่แล้ว

    Thank you very much for this brilliant explanation of Relations. I was having a problem with some related items appearance on single pages, have done it after watching this video.

  • @angelausytube
    @angelausytube 2 ปีที่แล้ว +1

    thank you man,, you are the reason , that makes internet great again ✌️

  • @olivermannherz
    @olivermannherz 4 หลายเดือนก่อน

    Great Video, thank you. Helps me to understand Crocoblock Relationships much better! Please make more of this Videos

  • @RichardWadeUK
    @RichardWadeUK 2 ปีที่แล้ว

    Amazing stuff Paul (as always!). I'm loving this updated iteration of relationships, and think I need to go and revisit some projects (as if I didn't have enough to do already!). Keep up the great work, and I look forward to many more Crocoblock videos.

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว +1

      Thank you!

    • @RichardWadeUK
      @RichardWadeUK 2 ปีที่แล้ว

      @@Crocoblock keep up the great work

  • @DigitalrealtyApartment
    @DigitalrealtyApartment ปีที่แล้ว

    Thank you. Can we redirect user to homepage if that user don't have relation with post?

  • @testimonycenterazraid4121
    @testimonycenterazraid4121 2 ปีที่แล้ว

    hi coach, i want asking about file upload media on Form, i was to set up metabox mediafield to upload .wav/mp4 file but it's cannot be played when published? can i get the tips about it?

  • @sherifmahmoud977
    @sherifmahmoud977 ปีที่แล้ว +1

    This is real good teacher 👏

    • @user-ze5tc2ft5n
      @user-ze5tc2ft5n ปีที่แล้ว

      Yeah, he's cool. But the addon is a scam. Russian WP coders were deceived. Crocoblock took the money, but blocked the license a day later. Indian developers helped with their plugins.

  • @Lerklinten
    @Lerklinten ปีที่แล้ว

    Love the picture’s in the background, where can I buy them!?

  • @Toxic-Ology
    @Toxic-Ology ปีที่แล้ว

    Long shot here - 12:45 I’ve got a many to many relation. Sports Person to Fixture. (I’ve got meta in relation which I select the sports person and meta for rating out of 10 - text). I want to display an average rating for all fixtures played for each sportsperson. For the life of me I still can’t work out how to do it or if it’s even possible.
    I think using your example it would be if I want to display the average charge in a many to many relationship. So agent charges different rates for different property/property types. What is the agents average charge.
    I’ve tried it as a CCT by selecting each sportsperson 1-11 however this didn’t work as I can’t escape the fact that there are times when (eg) player 2 will in other fixtures be player 3. (CCT was my preferred option but don’t think that will work, so hoping using relation meta will).

  • @HYP3RN0V4S
    @HYP3RN0V4S 2 ปีที่แล้ว +1

    Fantastic Paul! Now crocoblock please make it possible to set relationship meta fields in jetformbuilder. Seems like a logical and very powerful feature to integrate...:)

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Thank you for your suggestion! Please, feel free to submit a feature request to Git repository github.com/CrocoBlock/suggestions and our team will explore if it's possible to implement.

  • @HappyHappy_1314
    @HappyHappy_1314 2 หลายเดือนก่อน

    Excellent video sharing Paul! May I know under all situations, for user connect property, proper connect user, do we also need manually select relevant user/properly for connection?

    • @Crocoblock
      @Crocoblock  2 หลายเดือนก่อน

      sorry, it doesn't clear enough, what exactly you need
      maybe this guide will help you as it describes how to Connect Relation Items Using Forms th-cam.com/video/t7EUTl78elo/w-d-xo.htmlsi=2ra7qfyrcFjozbN5
      maybe this is what you are looking for :)

  • @idee-creative
    @idee-creative 2 ปีที่แล้ว +2

    Do relationships in JetEngine work with custom post types created with CPT UI? Or do the custom post types need to be created with JetEngine?
    Great video as always! :)

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Thank you 🙂 You need to create custom post types with JetEngine. Here you can check all documentation about the relations bit.ly/3JUDwus

  • @timnati51
    @timnati51 8 หลายเดือนก่อน

    Thanks for this wonderfull guide. Excellent as usual. I used it to create relations between post type and product. All is workingwell but when I create a popup with these fields it does not show it. Any wau to show these fields dynamically on a popup connected to this relations?

    • @Crocoblock
      @Crocoblock  8 หลายเดือนก่อน

      Hello! We are happy to know you liked this video tutorial!
      Could you please check this article how to build a Dynamic Popup? crocoblock.com/knowledge-base/jetpopup/jetpopup-how-to-build-a-dynamic-popup-to-work-with-jetengine-listings/
      It should help you to get the result you need ❤️

  • @destackterapias
    @destackterapias ปีที่แล้ว

    What if the time of day is different for each day? E.I. Monday 10-17, Tuesday 12-18, etc? How to set that up?

  • @VictorPietroM
    @VictorPietroM 2 ปีที่แล้ว

    Hi, great content! I wish you'd use CCTs in this example - from my experience, seems like fetching related CCTs is not working. Tried using query builder to filter it correctly, but no success :(

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Thank you 😊
      Please, check the following tutorial bit.ly/3ELgc15
      In case you'll need any further help, please contact our support crocoblock.com/help-center/

  • @vivekkapoor2644
    @vivekkapoor2644 ปีที่แล้ว

    Hi, I have 1 form, which is created in contact form 7. In this form, I have also put the option to add PDFs and images. Now I have to show this form in the front end in a table, in which I have to show the pdf file and image file also. Along with this, there should be an option to download this table and other files as well. How can this happen in WordPress?
    Somebody suggested to me, it can be done by Crocoblock. Can anybody explain this?

  • @alfarrabiosdaalma
    @alfarrabiosdaalma ปีที่แล้ว

    Hello Crocoblock how are you? I'm trying to relate 2 CPTs, where the 1st CPT is "book" and the 2nd CPT is the "book platform", a 1 to n relationship, because 1 book can be sold on several platforms. I created the platform CPT and included in it the field "book" which shows the combination of all books from the CPT post "book". Then I created the "book" list grid with only the "book" field, which is an ID; next, I created the "platform" grid listing, which includes the "book" listing. That's right, it appears directly in the related book using the "POST QUERY" option. However, what I really need is to create an individual page where I show a book and just below the "platform" list grid showing all the platforms where the book is sold, right? However, I am in no way able to display the relationship on the individual book page with the corresponding platforms. Either all platforms appear, unrelated to the book, or no platform appears. I spend hours looking for solutions, whether with relations, with queries of all kinds and nothing works kkkk I'm already sleepless for a detail that I imagine must be simple, but I can't see the error. Importantly, the field names are identical in both CPTs (title-book) and I can see that this field only captures the ID and not the actual title. I've already gone through all the videos from Crocoblock and several youtubers and nothing similar to my case!!! Thank you if you can help.

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว +1

      Could you please contact our support team for clarification of your task - crocoblock.com/help-center/? We will do our best to assist you with your questions.

  • @SmithyProductions
    @SmithyProductions 2 ปีที่แล้ว

    Is there any way to edit a child post from a front end form (using Profile Builder)? I have a Parent child of "venues" and Child post of "performances". From the edit performance page I want to be able to change the associated venue as well. Is this possible?

  • @user-cv9rr7lj4n
    @user-cv9rr7lj4n 7 หลายเดือนก่อน

    Great video guides. Thanks. The the used of macro %related_parents_from|post-type-slug% to display related parent in child page is only valid for JetEngine 2.11.0 How about the current version of 3.3.1? How to enable the similar task? Please assist.

    • @Crocoblock
      @Crocoblock  7 หลายเดือนก่อน

      Could you please follow this tutorial for the versions of JetEngine 2.11.0+? crocoblock.com/knowledge-base/jetengine/jetengine-macros-for-wordpress-relations/

  • @zackmcr625
    @zackmcr625 2 หลายเดือนก่อน

    Thanks for this, can I ask which plugin you use for your custom admin UI please?

    • @Crocoblock
      @Crocoblock  2 หลายเดือนก่อน

      well, we don't know which one exactly, it seems to be one of the plugins for WP admin appearance
      you ask Paul Charlton from @WPTuts directly about it :)

  • @ecompreneurzee1433
    @ecompreneurzee1433 9 หลายเดือนก่อน

    Hello Paul & Crocoblock. How do I display User to CPT relations in Jetformbuilder? There is another video I watched was to show the post title, & another 2 videos were to show CPT to CPT, however I would like to show the users as the parent instead. Thank you in advance

    • @Crocoblock
      @Crocoblock  9 หลายเดือนก่อน +1

      Hello! The same approach as CPT to CPT relation should be done here. You need to build a query to display related items. If you want to show related Users to the current post, you build a User Query. If you need to display related Posts to currently logged in user, you build a Post query. Then use Related Items macro to display users/posts. When you add a form field type Select/Radio/Checkbox, you can choose Generate dynamically option. Select Get values list from JetEngine Query option. Then check this info how to get queried list of users/posts in the form field: for posts: prnt.sc/03e5EmXnatxh (you can use any of these column names for users, for example: prnt.sc/l_yCKabPpZ4c where ID is the value, display_name is a label)
      jetformbuilder.com/features/multi-optional-field-source-settings/

  • @Kal-el23
    @Kal-el23 8 หลายเดือนก่อน

    I know this post is a bit older but wondering if its possible to query meta fields from a selected ACF relationship field with JetEngine/Listings? e.g. I have a page with an ACF relationship field where I select a few custom post type posts. Those posts also have a relationship field that selects another post. e.g. a "kit" contains "gear" and then on the page I select the "kit" so I can try to create a listing of all "gear" in a kit. Having some trouble doing this with Elementor. Any suggestions?

    • @Crocoblock
      @Crocoblock  8 หลายเดือนก่อน

      Hello! ACF relationships can be pulled with the Listing grid + Posts Query applied to it.
      1) Firstly, create a Listing Item template for the related posts. The template should include the information that you want to display on the original post from its related item.
      2) On the Single Post template/listing item template of the original post type, add the Listing Grid widget. Select the created listing.
      3) Create a custom query in the Query Builder: crocoblock.com/knowledge-base/articles/jetengine-query-builder-posts-query-type/
      4) Set up the query settings like this: prnt.sc/xNfzeqo3y-31
      5) Apply the query to the Listing Grid prnt.sc/gP6wTx4Vcn_9.
      The only obligatory condition, in this case, is that the ACF Relationship field value should be saved as ID: prnt.sc/E9KBwRk_0a5g

  • @NickKlynsmith
    @NickKlynsmith 2 ปีที่แล้ว

    Hi Paul
    I have a slightly different scenario
    I have a Hotel linked to a destination and have built a custom query, when I try to use the custom query I just get no data
    are there any vids that may help with this scenario rather than a user query?

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Please, contact our support on this issue - crocoblock.com/help-center/

  • @petermuller1156
    @petermuller1156 ปีที่แล้ว

    I have a general noob question. For what exactly do we need that? Is it only for ourself when we put manually all the houses for selling/renting? Or is it also for public for any user who could register their houses and put photos? If so, why did you not show that side of a user who registers his or his clients house? That would be interesting.

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว +2

      Hi Peter! It's rather for the public. You can use relations to connect users with properties. For example, we have several managers and a lot of properties and we want to add relations between them. So, with relations, you can apply a specific manager (user) to a specific property (or several properties). When the user will click on the property, he/she will be redirected to a single page with detailed information about this property and information about a manager who sells it, so the user will be able to contact this manager about the property he's/she's interested in.
      Properties and managers are just use-case examples, but you can use relations for different needs.

  • @renevankalendri8492
    @renevankalendri8492 2 ปีที่แล้ว

    The options to enter a User field are limited here at 19:42. If I want to add a User field from a MetaBox here, how do I do this?

    • @renevankalendri8492
      @renevankalendri8492 2 ปีที่แล้ว +1

      Yes, sorry. I found out: choose 'MetaData' instead of 'Post/Term/User/..' and the fields are listed.

  • @rookiesmarts
    @rookiesmarts 2 ปีที่แล้ว

    Interesting Information... The playlist is very comprehensive.
    Just a quick question out of the box.
    Paul/Crocoblock team just curious to know if there is any Easter sale? Any idea?

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Right at the moment, there are no discounts, but keep tuned 🙂

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Please note, that prices will change on April 18 crocoblock.com/pricing/

  • @lastbtenet3980
    @lastbtenet3980 2 ปีที่แล้ว

    Please how can you create a page/template that shows the post(property) a particular user posted.

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Please, contact our support on this issue - crocoblock.com/help-center/

  • @maxziebell4013
    @maxziebell4013 2 ปีที่แล้ว +3

    Please use the regular backend, the tweaks are disorienting :-)

  • @lastbtenet3980
    @lastbtenet3980 2 ปีที่แล้ว

    Very awesome tutorial. But I have a problem. How can I list all the Properties (child) assigned to an Agent (Parent) on a single-agent page. I used this macro %related_children_from|properties% but it did not work. I have also set the relations for AgentProperties (Agent as parent and Properties as Child) but on the single agent page, the properties of a particular agent doesn't show up. Please any help. I have been battling this error for 3 days now. Thanks.

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Thank you for your feedback 😊
      Please, contact our support on this issue - crocoblock.com/help-center/

  • @oncps22
    @oncps22 2 ปีที่แล้ว

    Hi Paul, how are you?
    and how do I display this data in the table? with table builder?

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Please, contact our support on this issue - crocoblock.com/help-center/

  • @andreasorrentino5885
    @andreasorrentino5885 2 ปีที่แล้ว +1

    Amazing video as always, thank you. One question... Is there a possibility to create a kind of messaging system using relations? For example..let's suppose that every agent has a profile, and inside a property single page, there is a form where a client can contact the agent for further information. Can the agent receive on his profile the message shown as a listing?

    • @A3lxxxx
      @A3lxxxx 2 ปีที่แล้ว

      +1

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Thank you for your feedback! Please, feel free to submit a feature request to Git repository github.com/CrocoBlock/suggestions and our team will explore if it's possible to implement.

    • @andreasorrentino5885
      @andreasorrentino5885 2 ปีที่แล้ว

      @@Crocoblock I've already solved the problem :). It is possible, it was just matter of creating the right Query.

    • @dreamsachiever212
      @dreamsachiever212 ปีที่แล้ว

      @@andreasorrentino5885 Can you share please? I saw this feature on Houzez theme on themeforest. And was wondering how to do this with Jet engine

    • @andreasorrentino5885
      @andreasorrentino5885 ปีที่แล้ว

      @@dreamsachiever212 Sure, send me an email so we can get in touch and I'll show you. It's easy once you know the right process

  • @coneqto
    @coneqto ปีที่แล้ว

    How to auto-relate when post type is created via front end?

    • @Crocoblock
      @Crocoblock  ปีที่แล้ว

      Hi! You may check this video tutorial to find out how to create a form which connects items via Relations: th-cam.com/video/Z2IrYsZfoTg/w-d-xo.html

  • @xcantenerealguy1361
    @xcantenerealguy1361 ปีที่แล้ว +1

    I still do not understand what is the purpose for the relationships... 🤔 could be because the example is very off to my webstie type. I. Building a community platform where digital creators can post their projects and have multiple portfolios.
    Those are custom post types with taxonomies but each post already had an author. Whats the different from relation and author? I am confused

  • @atulkadyan1303
    @atulkadyan1303 5 หลายเดือนก่อน

    Can any one answer this question
    I have two custom post type created
    1. Movies
    2. Reviews
    and i have made relation as well one to many Movies(parent)->Reviews(child)
    and i have added all the required custom fields to both cpt's and i can show the data on frontend but the problem is i want to show the movies custom fields in review single page template how to do that can anyone help

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน +1

      Let me suggest creating a relations between these CPTs, then use this tutorial to display meta values from the related CPT: crocoblock.com/knowledge-base/jetengine/dynamic-field-widget-overview/ (select the correct Context)
      Or query the listing grid by Related Items: crocoblock.com/knowledge-base/jetengine/jetengine-macros-for-wordpress-relations/

  • @avishithpm1712
    @avishithpm1712 10 หลายเดือนก่อน

    "Hey everyone,
    I'm working on a real estate website featuring buildings and apartments as custom post types. Apartments have a 'rent' or 'sale' value. I want to list buildings that have only rental apartments. Any tips on how to do this? Your help is much appreciated!(building is parent of apartment)

    • @Crocoblock
      @Crocoblock  10 หลายเดือนก่อน

      Could you please check this tutorial how to build your custom query correctly?
      crocoblock.com/knowledge-base/jetengine/jetengine-macros-for-wordpress-relations/
      If any questions left, feel free to ask them here: crocoblock.com/help-center/

  • @CyberImpact7
    @CyberImpact7 2 หลายเดือนก่อน

    ITs not working lol i did everything as on video and when i go to the listing and set source to relation meta data and then context to the related from relation (Agent in my case, nothing appears)

    • @Crocoblock
      @Crocoblock  2 หลายเดือนก่อน

      well, it's hard to understand where exactly lies the issue without having access to your settings and looking through them
      so, could you please proceed to our support team?
      crocoblock.com/help-center/

  • @jondavies2569
    @jondavies2569 2 ปีที่แล้ว

    Can “connect user” be done in a frontend form?

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Yes. Please, contact our support for more details crocoblock.com/help-center/

  • @jernias637
    @jernias637 4 หลายเดือนก่อน +1

    can i add relations via front end forms?

    • @Crocoblock
      @Crocoblock  4 หลายเดือนก่อน

      You cannot create a relation between items, but you can relate objects via the front-end form submission:
      jetformbuilder.com/features/jetformbuilder-connecting-wordpress-related-items-with-post-submit-actions/

  • @tamera00
    @tamera00 2 ปีที่แล้ว

    I take that when a user adds a property it automatically assigns it to logged in user?

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      Hi! Could you please specify, do you mean when the user adds new property from the frontend?
      You can add a relation between user and post on the backed th-cam.com/video/6y3xj_n8Fak/w-d-xo.html

    • @tamera00
      @tamera00 2 ปีที่แล้ว

      @@Crocoblock Either really, Does it automatically relate the property to the user? - I'm guessing that it would..

    • @Crocoblock
      @Crocoblock  2 ปีที่แล้ว

      @@tamera00 Yes, it would.

  • @sheikhjamal7919
    @sheikhjamal7919 ปีที่แล้ว

    Love

  • @thephrase22
    @thephrase22 2 ปีที่แล้ว

    7:47 Pressing Update here is not necessary for the relationship to be stored.

  • @RyanScottForReal
    @RyanScottForReal ปีที่แล้ว +2

    He's a great teacher but you switch from the screen to him too much. Please focus more on the screen.

  • @NoorAhmadzi
    @NoorAhmadzi 2 ปีที่แล้ว

    I bought crocoblock lifetime because of you. And that was mistake. Crocoblock is tooooooo much complicated to learn so I wasted all that money. Thanks to you sir

    • @EMGKPhotographie
      @EMGKPhotographie 2 ปีที่แล้ว

      Ask for a refund, you have 30 days to get refunded by crockoblocks.

    • @NoorAhmadzi
      @NoorAhmadzi 2 ปีที่แล้ว

      @@EMGKPhotographie it's already 6 months since I bought it

    • @WPTuts
      @WPTuts 2 ปีที่แล้ว

      How on earth can you realistically blame someone else for your decision to buy a product that you find too complicated to use?
      Surely the 30 day money back period was more than enough time to make an informed decision as to whether you could use the product or not.
      Waiting 6 months is kind of on you an no one else.

    • @NoorAhmadzi
      @NoorAhmadzi 2 ปีที่แล้ว +1

      @@WPTuts I bought it on black Friday when I had no time to practice. As there was 25% discount. But I tried it from January till now still no luck.
      I have also bought lifetime Astra watching your videos and that was the best investment I ever made again thanks to you. So I thought crocoblock is the same.
      The only reason I bought crocoblock was for the jetappointment but no matter how hard I tried to book an appointment on my website it never worked the way I wanted. Especially when it comes to display the price on the form and the email notification so after days of headaches finally I deleted the plugin.
      And the worst part was crocoblock not taking it back neither allowing me to sell it to someone else.
      Lastly want to say I am still big fun of you for all other videos you make and yes I take it back it's really my own mistakes I should of have tried while I could cancel it. Lesson learned.

    • @PaulGJD
      @PaulGJD 2 ปีที่แล้ว

      sell it on Facebook