Skip Navigation

[Closed] Using Category Links as Table Headers — I Cannot Get Them To Sort Properly

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 6.58 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 5 months ago.

Assigned support staff: Luo Yang.


I’ve created a table here: hidden link

You can sort most of the table columns by clicking on the headers, but the category column (called Industry) does not allow sorting. Can you advise how I should alter my code?

Here is the code from the view. It was built using the Loop Wizard:

<!-- wpv-loop-start -->
<table width="100%">
<th>[wpv-heading name="post-link"]Listing Name[/wpv-heading]</th>
<th>[wpv-heading name="types-field-location"]Location[/wpv-heading]</th>
<th>[wpv-heading name="taxonomy-link"]Industry[/wpv-heading]</th>
<th>[wpv-heading name="types-field-asking"]Asking Price[/wpv-heading]</th>
<th>[wpv-heading name="types-field-gross"]Gross Revenue[/wpv-heading]</th>
<th>[wpv-heading name="types-field-cash"]Cash Flow[/wpv-heading]</th>
<th>[wpv-heading name="types-field-date-added"]Date Added[/wpv-heading]</th>
<tbody class="wpv-loop js-wpv-loop">
[wpv-post-body view_template="Loop item in Listings Table"]
<!-- wpv-loop-end -->
[wpml-string context="wpv-views"]No items found[/wpml-string]


Luo Yang

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)


I just tried it in my localhost with same codes as you mentioned above, but there isn't similar problem, please check these in your website:

1) Make sure you are using the latest version of Toolset plugins, you can download them here:

2) Deactivate other plugins and switch to wordpress default theme 2017, and test again

3) If the problem still persists, please provide provide a database dump file (ZIP file) of your website in below "private detail box", I need to duplicate same problem and debug it in my localhost, thanks.

The topic ‘[Closed] Using Category Links as Table Headers — I Cannot Get Them To Sort Properly’ is closed to new replies.