can we get custom field values as numeric values?
Is it possible to retreive custom vield values as numeric data rather than a string?
I’m working on a real estate site and I’d like to set up a query that only shows posts with more than 3 bedrooms or that costs less than £200,000. The number of bedrooms and sale values are stored in custom fields and it seems that by default I get these values as strings so that instead of things going in the order…
it would instead go…
Anyone have any work-arounds for this?
- The topic ‘can we get custom field values as numeric values?’ is closed to new replies.