[Plugin: WP-Table Reloaded] Sort column by rating (gd star rating)
-
Hi,
I have integrated gd star rating shortcodes into rows table so users can vote.
For now, the column reads a shortcode for each row ([starrater tpl=10 post=xxxx]) where xxxx is the ID from the post.
So, when I sort the column by desc, it naturally sorts by name, and the higher id is the first.
Example, by desc :
[starrater tpl=10 post=1541]
[starrater tpl=10 post=1540]
[starrater tpl=10 post=1539]But I need to sort by default the higher value from a vote, which has nothing to do with ID of course.
How can I make wp table reloaded interpret each shortcode rendering ?
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘[Plugin: WP-Table Reloaded] Sort column by rating (gd star rating)’ is closed to new replies.