WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Sorting by 2 columns (2 posts)

  1. richardr
    Member
    Posted 1 year ago #

    Hi There

    I am having trouble with a TablePress Table.

    What I am doing is running a sports league website and the table is a league standings table. I have sorted the table by Points, but what I also need to do is sort by Goal Difference.

    The code I am using is :- [table id=2 row_order="sort" row_order_sort_column="I" row_order_sort_direction="DESC" hide_rows=all show_rows="1-6"]

    Goal Difference is column H and Points is Column I.

    I have also tried [table id=2 row_order="sort" row_order_sort_column="H-I" row_order_sort_direction="DESC" hide_rows=all show_rows="1-6"] but this doesn't work.

    The TablePress plugins that I have installed on the website are TablePress Extension: Table Row Order.

    The website is http://www.brithockey.co.uk.

    Thanks in advance.
    Richard

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Richard,

    thanks for your question.

    Unfortunately, the Table Row Order Extension only supports sorting for one column, sorry.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic