If anyone can help me I would LOVE to hear it. I have a frustrated client and I am pulling my hair out and have been for days.
We’ve set up drop down lists to allow people to filter posts based on custom post types.
In order to populate the drop down list I am using:
It outputs a long list of Ratio;s eg 1.67, 2.42, 10, 13.23 etc etc
Listing these alphabetically doesn’t work, as it outputs 1.67, 10, 2.42 etc
The slug and the name are pretty similar, so I don’t mind which one we are using.
So I need to list them as integers… Any help would be really appreciated, whether its a php solutions, jQuery, wordpress… I don’t care… I just need to make it happen.