WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. violacase
    Member
    Posted 5 months 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 5 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.