• Resolved Eiqu

    (@eiqu)


    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: https://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’, ‘, ‘);
    break;
    case “album”:
    echo music_store_extract_attr_as_str($obj->album, ‘name’, ‘, ‘);
    break;
    case “genre”:
    echo music_store_extract_attr_as_str($obj->genre, ‘name’, ‘, ‘);
    break;
    case “plays”:
    echo $obj->plays;
    break;
    case “purchases”:
    echo $obj->purchases;
    break;

    } // 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!! ??

    Have a great evening yall!

    -Eiqu Miller

    https://www.ads-software.com/extend/plugins/music-store/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Eiqu

    (@eiqu)

    I found the solution, nevermind!

    Plugin Author codepeople

    (@codepeople)

    Hi,

    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″]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help needed changing the track list design setup.’ is closed to new replies.