Skip Navigation

[Resolved] Create a Playlist

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 5 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#1255629

Hi,

I created a CPT "Video" and a CPT "Webseries" and a relationship "Playlist" beetween Video and Webseries. I created a Single Post template on Elementor for my Video CPT. Everything is Ok. But right now I created a sidebar where I want to put others videos that are on the same "Playlist" of the current video.

So I think I need to create a view that display my video, but the view display all videos. I want to filter the view to displaying only video that are one the same Playlist of the current video on the single page.

I don't know if I was clear, my english is bad

#1255671

I think you'd have to create a View that displays the posts using a Query Filter like "Select posts in XY relationship that are related to the Post where this View is shown."
Then, insert that View to a Post to show it's related posts.

This might not work in a View in a widget in the sidebar or other widgetized areas because they aren't part of the content - hence if it doesn't return the expected posts, we'd have to try finding another solution - please let me know if the above works for you, and just in case you think I'd have to take a look at the backend, I activated a private reply already-