WordPress.org

Ready to get started?Download WordPress

Forums

CSV to SortTable
[resolved] Sorting Genericon stars column (2 posts)

  1. violacase
    Member
    Posted 1 year ago #

    I have a column with fields representing 1 to 5 stars.
    In the field it's represented like this for 1 star:
    <i class="genericon genericon-star"></i>
    And like this for 2 stars, etc:
    <i class="genericon genericon-star"></i><i class="genericon genericon-star"></i>

    Problem: I see no way to make the column sortable. Any suggestions anyone?

    https://wordpress.org/plugins/csv-to-sorttable/

  2. violacase
    Member
    Posted 1 year ago #

    I found a rather simple roundabout to avoid the problem.
    Before the stars string I put the numeric amount character, like '1' or '5'. Looks good and functions well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.