Quantcast
Viewing all articles
Browse latest Browse all 119548

TobiasBg on "[Plugin: TablePress] Sort Shortcode for widget?"

Hi,

thanks for your question! Great to hear that you like the plugin! :-)

Well, the problem here is that you are turning of sorting in the table in the text widget, by using the use_datatables="false" parameter. That disables the DataTables JavaScript library for this table, and with that the sorting.
Just remove that parameter from the Shortcode and the table will be sorted correctly. Also, you can optimize your Shortcode a little bit by using a range of row numbers :-):

[table id=7 show_rows="1-11" hide_rows="all" /]

Regards,
Tobias


Viewing all articles
Browse latest Browse all 119548

Trending Articles