I'm using table sorter plugin to sort a table on my website.

One column has only unsortable signs as content. However I'm trying to sort this column by value.

It's the column IMDb here: https://flimmerzimmer.eu/filmothek/

So I added span title to the span with corresponding value but it's not sortable.

Any ideas how to sort this column?

  • You'd have to ask the plugin developer (assuming it's not you) how to go about doing this. The plugin developer's code may not allow what you're doing. If you are the plugin developer then it would be super helpful to include your markup and scripting here. Mar 11, 2022 at 18:51
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Mar 11, 2022 at 18:51
  • @TonyDjukic I asked the developer: wordpress.org/support/topic/sort-by-span-title Last answer was 3 years ago. I don't think I'll get an answer.
    – FLX
    Mar 26, 2022 at 12:28

1 Answer 1


Just added:

"<p style=\"display: none;\">" . $rating . "</p>";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.