Skip Navigation

[Resolved] i want a site for music lyrics and relationship with singer, writer,director etc

This support ticket is created 5 years, 3 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 7 replies, has 2 voices.

Last updated by Nigel 5 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1313113

Tell us what you are trying to do?
I want to make a music lyrics site where I need custom post type 1. Lyrics 2. Singer. 3. Writer 4. Music director. 5 Video Director 5. Album and for all, I want to make a relationship with each other but want the result as the demo theme of melyrics links is: hidden link

Please make these things possible for me, for this below I gave them access to log it to my admin panel of the website

Note: one another thing I want to describe what I have a Pro Elementor Theme so it should be compatible with that, please

Is there any documentation that you are following?

Is there a similar example that we can see?
for reference, you can see the theme on given link
hidden link

What is the link to your site?

hidden link

#1313183

i need assistance

#1313203

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

I edited your post to remove your site username and password which were visible to anyone viewing this post. Please note that we will create private replies for you to share such details if we need it.

I looked at the link to the lyrics theme you shared, but it's not clear what from the theme you are hoping to reproduce. We cannot create a theme for you, but can help if there is some specific component you are trying to create.

You suggest creating the following custom post types and connecting them with post relationships:

1. Lyrics
2. Singer
3. Writer
4. Music director
5. Video director
6. Album

It's not clear to me that these should all be post types, unless you have a good reason to set it up that way.

I would imagine that you have a "track" post type or similar to represent a particular rendition of some song.

The lyrics could just be the post content of that track, or could be added as a custom text field.

Singer, writer, music director, and video director seem more like custom fields to me, belonging to the track post.

Album would perhaps be more complex than a simple custom field and seems a good candidate for being another custom post type that is connected in a relationship with tracks.

You would want to create templates for single track posts, and likely for single album posts (including a track listing).

If you are using Elementor Pro plugin then you can either create templates with Toolset or with Elementor.

You can read descriptions of how to create templates with Elementor and output fields created with Toolset here: https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/

If you are stuck on something specific please let me know.

#1313311

Dear Nigel, I am not saying for making a theme for me, I can manage those things own, apart from this I Can create post and field, I think you are not getting what I want, so again I explain deeply but I want to achieve

I want a music lyrics site Where I can post the lyrics and artist and album related to that lyrics

and the relationship of these I want so that if anyone clicks on the lyrics related things like for example

i post a lyrics

ex. Can you hear me? S.O.S.
Help me put my mind to rest
Two times clean again, I'm actin' low
A pound of weed and a bag of blow

I can feel your love pullin' me up from the underground, and
I don't need my drugs, we could be more than just part-time lovers
I can feel your touch pickin' me up from the underground, and
I don't need my drugs, we could be more than just part-time lovers

We could be more than just part-time lovers
We could be more than just part-time lovers

We Assume that

Lyrics by: Aloe Blacc (want a Clickable Link here to reach the page of Lyricist) means all lyrics by Aloe Blacc

Singer: Jorge (want a Clickable Link here to reach the page of Singer) means all song sung by Jorge

Music Director: Steev (want a Clickable Link here to reach the page of Music Director) means all Music Direct By

Video Director: David (want a Clickable Link here to reach the page of Director) Menas all Video Direct by

if they relate to each other then we can get the result of each one

if you can help regarding this

#1313839

I don't get any reply from you ??????????????????????

#1314287

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry for the delay, I don't work at the weekend.

If you create post types for Songs, Lyricist, Singer, Music Director, Video Director then you can create many-to-many relationships that all connect to Songs as the anchor, e.g.

Songs <<>> Lyricist
Songs <<>> Singer
Songs <<>> Music Director
Songs <<>> Video Director

Let's take the example of the Lyricist, and you can replicate the same steps for the other relationships.

To recap, when you view a single Song post you will want to display the name of the Lyricist with a link to the Lyricist post.

When clicking that link and going to the Lyricist post you will then see a list of all the songs written by that Lyricist.

So you will need to create a template for Song posts, and a template for Lyricist posts.

To display a link from the Song post to the Lyricist post you will need to create a View (because this is a many-to-many relationships and there could be more than one Lyricist).

So create a View where the content is Lyricist posts, and which includes a relationship Query Filter to select Lyrics posts from the Songs-Lyricists relationship that are related to the post where this View is shown.

In the output section you will output the post title as a link (using the wpv-post-link shortcode). You might want to use the Loop Wizard to output this as a comma-separated list, for example.

Insert that View into your template for Songs.

Now create another View to display all of the Songs written by the Lyricist we are viewing.

So the content selection will be Songs, and you will again need a relationship Query Filter, again showing posts from the Songs-Lyricists relationship related to the post where this View is shown (i.e. Songs related to the current Lyricist).

You can then output whatever fields you require from the Songs, e.g. the titles as links.

That's the basics of being able to go back and forth from Songs to the Lyricists then back to the songs written by that lyricist etc., and you'll need to set up something similar for each relationship.

For background, here's the documentation about Post Relationships within Toolset: https://toolset.com/documentation/post-relationships/

If you get stuck on something specific, please let me know and I'll be happy to help.

#1316955

Hi, Negal Thanks for your valuable reply, now please solve another issue for me to achieve my goal.

That is, can we edit the default permalink of custom post type as the by default provided by WordPress post because I don't

want that as ex. hidden link
i want if this can come like this: hidden link

if this possible please recommend the setting to get this

#1316993

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Varinder

There are no settings for this because WordPress doesn't ordinarily allow it.

In the settings for the post type you can change what the slug for the post type used in the URL should be (it doesn't have to be the slug of the post type, it could be "songs", for example), but it can't be nothing, it must be something.

That way when a user visits a URL such as site.com/some-post-slug/ and WordPress parses that URL in order to work out what it should be displaying, when a slug or alternate string is used as a directory WordPress understands that it is posts of the custom post type that should be displayed rather than standard posts.

And it means that the same post slug can be used across different post types, e.g.

site.com/yellow-submarine/
site.com/lyrics/yellow-submarine/

I say "ordinarily" because WordPress does provide custom rewrite rules which would enable you to alter the standard behaviour, but that requires custom coding and is beyond the scope of the support we can offer.

If you Google "custom rewrite rules wordpress" you'll find plenty of articles about setting up your own such rules.

Lastly, just a note about the forums. We have a policy of one issue per support thread as it keeps the forum organised and helps other users with similar questions find the results.

If you have any more questions, would you be kind enough to open new support threads, thank you.