Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Post type with a post type

$
0
0

Replies: 1

Hello I’m new to PODS and need a little help. I am working on a website that I had scratched the surface using PODS to create a custom post type and a single taxonomy and it worked great.

Now, I have a more complex one that I need to figure out.

For example: let’s say I have a library of music. and I want to display those song titles and the artist the song is preformed by. This isn’t problem setup a post type of the songs title and a taxonomy of the artists. Ok. but now I want to list a compilation of songs on an album in a specific order and also want to be able to drag and drop the list order.

Now, I have created 3 post types; songs, artists and discographies.

The post type with songs there is only one field for the relationship to the artist. In the artist post type there is also a relationship field for the song.

So, I have created in the discographies a relationship field that uses the songs as a multiple select in a list view. This works great giving me a drag and drop list for the songs.

Now, here’s my problem. I need to be able to display the artist related to the song on both the backend and frontend. Also, I need to change how the list is displayed. by default the relationship list view list the items like you would list them in a sentence. ( Item1, Item2, and Item3) I need them to be listed with line breaks. Something like the following.

Album
Song3 – Artist2
Song2 – Artist34
Song1 – Artist10

I hope this makes sense.
I’m pretty sure Pods can handle this but be cause of my lack of knowledge working with Pods. I need a bit of help.

Hopefully someone can help.

Any help would be greatly appreciated

Thanks
C


Viewing all articles
Browse latest Browse all 59525

Trending Articles