WordPress.org

Ready to get started?Download WordPress

Forums

Best framework for a charts web site (1 post)

  1. andreigoea
    Member
    Posted 1 year ago #

    Hi everyone,

    I'm trying to develop a charts theme and I'm wondering what the best framework would be.

    Basically each chart would contain a number of entries that can either be sorted by votes or by a default sorting.

    I have created a Charts custom post type where I can add the charts in with their title, description and a thumbnail for each chart.

    I have then created a Singles custom post type where I can add all the singles to be added to the charts. Each single will also have a title, description and thumbnail, as well as probably hold an audio file in the future.

    I was going to link the two together by creating a custom field box in the charts post type that lists all of the posts in the singles post type. I would enter say 10 custom meta values to link 10 singles to that chart.

    The problem is that this structure does not allow me to manually order the singles. The vote order I can easily created by adding a 'votes' meta to each single and then ordering using that, but how would I achieve a easy to use custom order from the chart menu?

    I hope this makes sense.

Topic Closed

This topic has been closed to new replies.

About this Topic