Order By Meta Value
-
I know there isn’t an option so order by meta value so I went into the plugin code and edited the query myself to order by meta_value on the meta_key I provided. The ordering works fine in that I get the first 6 posts in the correct order, but it won’t load in anymore posts. the ajax button just acts like there aren’t anymore than 6 posts when there are. If I leave everything as is and switch back to order by anything other than meta value it all works fine, just not by meta_value. Is there any reason why the Ajax wouldn’t work when ordering posts by meta?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Order By Meta Value’ is closed to new replies.