Tell us what you are trying to do?
Hi, I’m working on movie database website. I have 2 custom post types:
1) "Filmy" (=Films) - each post contains some basic information and photos about each movie - single page template has been made in Elementor Pro: hidden link
2) "Projekce filmů" (=Film screenings) - this has been created using import from xml (WP All Import Pro) - each screening as the new custom post with custom post types (one screening = one post).
I also created the View that displays informations about all screenings on single post page of custom post type “Filmy”.
Now I need to add some functionality (by customizing the View and shortcode) that will display all items from “Projekce filmů” that has same text value in custom field “performance-codeufdtext” as the text value of custom field “code-ufd” of recent post. In fact I need for each movie page to display only informations about film screenings of the recent movie. I’m using shortcode to display the view inside of Elementor single page template. For example here the view should display only screenings of movie “Složka 64”, that has text value “237” for “code-ufd” & “performance-codeufd”:
hidden link
How can I do that?
Is there any documentation that you are following?
I was trying to find the solution here but I wasn't able to find out how:
https://toolset.com/forums/topic/displaying-post-title-with-view-filtering-based-on-current-page/
I can provide you login if it' easier for you.
Is there a similar example that we can see?
What is the link to your site?
hidden link
(you can click on each movie to display single page layout with the view for screenings)
Hi, yes please provide a login so I can take a look in wp-admin, I think it will be faster. Thanks!
Thank you, I have been recently experimenting with shortcode parameter format and view query filter and now everything already works as expected.
My issue is resolved now. Thank you!