Music Store
[resolved] Help needed changing the track list design setup. (3 posts)

  1. Eiqu
    Posted 2 years ago #

    Hello guys!
    I'm fairly new to the WordPress community so hi!
    My request is pretty simple (atleast I think so!)

    My problem is changing the plugin called "Music Store".
    Right now the music is just being posted from database to website in a long long list downwards, which gives a really bad overview and sorting.
    (You can see what I am talking about on my website here: http://eiqumusic.com/music-store/ )

    Instead of one long list, I would like to have 3 columns so the tracks fill the space to the right of the page where there's nothing.

    I am pretty sure I have found the place to edit my php, but I am not certain of what code to actually put in there to make this happen.

    The PHP looks like this now:

    * Extrat the songs data for song list
    public static function columns_data($column){
    global $post;
    $obj = new MSSong($post->ID);

    switch ($column){
    case "artist":
    echo music_store_extract_attr_as_str($obj->artist, 'name', ', ');
    case "album":
    echo music_store_extract_attr_as_str($obj->album, 'name', ', ');
    case "genre":
    echo music_store_extract_attr_as_str($obj->genre, 'name', ', ');
    case "plays":
    echo $obj->plays;
    case "purchases":
    echo $obj->purchases;

    } // End switch
    } // End columns_data


    I hope someone can help me make this music store look pretty so I can start selling my music! The request might be very noobish, but I am not really a PHP shark like most of you guys!! :D

    Have a great evening yall!

    -Eiqu Miller


  2. Eiqu
    Posted 2 years ago #

    I found the solution, nevermind!

  3. codepeople
    Plugin Author

    Posted 2 years ago #


    In the insertion process of music store in your page or post it is possible entering the number of columns, the sortcode will be similar to:

    [music_store columns="3"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Music Store
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.