Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Just a simple question is it possible if yes what are the requirements of this mean i want to make a table for adding songs information in table like

link | name | date | size | moviename

is it possible if yes any idea or any suggestion thanks

share|improve this question
add comment

2 Answers

You may not need extra custom tables. Create a custom post type for songs. Then store all the required data (link, name, date, size, etc.) as post meta data.

The songs would be stored in the wp_posts table and the metadata in wp_postmeta.

share|improve this answer
    
but one Movie Song page will contain on many songs on one page so how i'll save the details of all songs in meta deta like for example Key = song Name value = i love u forevevr an other song name on the same page is key = song Name value = let's party tonight how to call both of these song on the same page and is it will be ok with thousands of songs –  realcoder Feb 21 '12 at 21:51
    
mean i am going to add songs of thousands films so i have to create round about million meta tags the efficiency of database and word-press will be good or what will happened ? –  realcoder Feb 21 '12 at 21:57
    
and one thing more how i define that this value is of that song on the page of wordpress because i have many songs listed on one movie page thanks –  realcoder Feb 21 '12 at 22:18
add comment

Yes, the Codex gives a great introduction in how to create your own database tables here :D.

share|improve this answer
    
thanks brother for answering –  realcoder Feb 21 '12 at 21:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.