Tell us what you are trying to do?
We would like to have an output that when we enter the name, it outputs the associated occupations. We have created a many to many relationship.
Is there any documentation that you are following?
We didn't found one
Is there a similar example that we can see?
No.
What is the link to your site?
hidden link
Hello,
What is the "have an output that when we enter the name"?
Are you going to output the related "occupations" post title?
If it is, you can follow our document to display the related "occupations" posts information:
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items
section "Displaying many related items"
Hey
Yes we want a search that when we enter the first name that the related professions are listed.
In our case the post relationships are not displayed. (See screenshot.jpg)
Where can we select the field "Speakers that are related to the current Event" as in the documentation?
Thank you for your help!!!
The problem you mentioned above is abnormal, please provide a test site with the same problem, fill below private message box with test site credentials, also point out the problem page URLs, thanks
Thanks for the details,I can login into your website, in your case, it needs a nested view.
I have done below modifications in your website:
1) Create a child post view "Related occupations posts":
hidden link
- Query "Berufe" posts
- Filter by:
Select posts in a Vornamen Berufe relationship that are a related to the current post in the loop.
- In view's loop, display the post title shortcode:
[wpv-post-title]
2) Edit the existed parent post view "Beruf":
hidden link
- Query only "Vornamen" posts
- In view's loop, edit the content template "Loop item in Beruf":
hidden link
Display the "Vornamen" post title block + child view block
Please test again, check if it is what you want
Hello Luo Yang
Thank you very much for your help! This is exactly how we imagined it.
Now we have another question. We want to create a user management.
That means when a user logs in, the database is empty and he can fill the database independently. The relations remain.
The user sees only his content.
The administrator sees all content from all users.
Is there a way to set this? We would be very grateful if you could help us.
Kind regards