S
S
stasserov2020-07-05 20:28:54
WordPress
stasserov, 2020-07-05 20:28:54

How to create a post in wordpress and then publish other posts in it?

I need in Worpress so that the user can create a type of music album, and then publish records with an audio track into it. Accordingly, it turns out that one user can have many albums. I would like albums to be displayed on the site, upon transition to which links to pages with tracks would be displayed. Please tell me how to implement this? taxonomies? I realized that taxonomies allow you to create a new type of post, but how can I make my plan so that a particular post can become a parent for other posts? Please who can advise.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-07-05
@azerphoenix

taxonomies? I realized that taxonomies allow you to create a new post type,

Misunderstood. Custom records are used to create a new record type. (CPT)
And taxonomies create "categories".
I would like albums to be displayed on the site, upon transition to which links to pages with tracks would be displayed.

Here is one possible solution. Create a CPT and add ACF Pro (repeater field) to it. So for each record (album), the user will be able to add several tracks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question