• It would be really helpful if the column Views was clickable, allowing thus the posts list to be sorted by view count. I think it’s very easy to implement it but I became confused while reading the source code. Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter matia

    (@matia)

    ps I was talking about the posts list in edit.php

    WordPress doesn’t allow something like that. It’s absolutely unbelievable, but none of the WordPress grids are sortable. Until they implement that, plugin can’t do it on it’s own. For my own grids in GD Star Rating and other plugins I implemented all that.

    Thread Starter matia

    (@matia)

    oops ??

    so I should somehow recreate edit.php as edit-sortedByViews.php if I understand correctly. Do you have any suggestions on which path should I choose?

    Thank you very much!

    That’s almost impossible to do. Rendering in that file is very complicated, and there are many plugins that rely on it, and I am afraid that change it will cause nothing but problems. We can only wait and hope that WP core will be changed to create better edit and other management pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: GD Press Tools] request: sort by views’ is closed to new replies.