Support

Account

Home Forums ACF PRO Getting number of times selected from relationship field Reply To: Getting number of times selected from relationship field

  • The the only thing is why is it not ordering correctly, and I don’t have the answer for that. I found an example that’s similar to your code here http://scribu.net/wordpress/custom-sortable-columns.html and what you’re doing looks correct with the exception of the orderby value that I mentioned above.

    The only other thing that I notice is that in your original code in the first post has the name of the column as number and in the second code you’re using a column name of count If these aren’t the same then that would cause it.