order_by=meta_value not working
-
I’ve created a custom field, and cannot get the miniloop to accept the code as written:
[miniloop post_type=”leadership” order_by=meta_value meta_value=last_name]Since the specs suggest the correct way is to use meta_key to specify the field key, I’ve done that too:
[miniloop post_type=”leadership” order_by=meta_value meta_key=last_name]I’ve tried many similar alternate spellings with no success, altho I can make menu_order, name, date, etc, all work fine, just not meta_value. I have many custom fields, and all the others are being pulled into the miniloop content with no problems.
I wanted to have a field with just the post’s subject’s last name for purposes of ordering posts by alphabetizing. Instead it’s broken and I have to use the very inconvenient menu_order method. ??
- The topic ‘order_by=meta_value not working’ is closed to new replies.