Sortable data table question

  • Unknown's avatar

    I have a standalone installation of wordpress for my lodge website. I am creating a page that lists “past leaders”. On this page will be 2 columns. Col 1 will be the year they served (e.g. 2017-2018) and Col 2 will be their name (e.g. Wade Wilson). Trouble is, I am going back over 100 years. So there will be A LOT of lines. But that isn’t the problem.

    My end goal is to have links at the top, that allow the viewer to sort by year (0-9 and 9-0), and then sort by name (A-Z and Z-A). I would also like to have links to show only by certain decades (e.g. 1980, 1990, 2000, 2010).

    In my old PHP days, I would put all of this into mySQL and then just run my queries and sort as needed. But I have since converted to WordPress, and for most questions, I have found a plugin to do what I needed. Except this.

    Anyone have a suggestion on how to accomplish this? If you would like to see a basic idea of the page, it can be seen at

    https://dothan466.com/past-masters/

  • Unknown's avatar

    Hi,

    As you mentioned, your site <https://dothan466.com/&gt; is self hosted on WordPress.ORG software. It is not hosted on WordPress.COM.

    This forum is for WordPress.COM sites. WordPress.ORG has dedicated support forums separately.

    .COM and .ORG are different from each other. To understand the difference, please visit this page: https://en.support.wordpress.com/com-vs-org/

    To get support for WordPress.ORG (your site) visit this forum: https://wordpress.org/support
    You will have to create a username/password and log in to post your queries there.

    – bests,

  • The topic ‘Sortable data table question’ is closed to new replies.