I have a Posts Grid on https://www.whurld.com/a-test-gallery/ and the query uses ‘girl’ a toolset custom post type and Included By Terms shows ‘On Site (77 items - [Girl-Status]’ and 77 posts show in the grid.
However, I need the results to be ordered by a Toolset custom field called girl-priority-number (so far the data entered in the 77 posts are mixture of numbers 1, 2, 3 and 4) and whenever I set Order By: to
There is a custom post type called Girls. Within it there is a custom field called 'Girl Priority Number' (girl-priority-number) and I need to get the Post Grid to order the entries by that custom field. Currently the 100 or so posts have numbers 1, 2, 3 or 4 added in the priority field. So there will be one or two posts with 1 and a bunch with 2, then 3 and more with 4. So the idea is that any girl with a priority number of 1 will display at the top of the grid, and then the girls with 2, followed by 3 and lastly all the girls with a priority of 4 at the bottom of the post grid.
Each time I edit the a-test-gallery page and within the Posts Query tab of Edit Post Grid I select Order By and choose Custom Field Value or Custom Field Value numeric and then type in 'girl-priority-number' all the entries in the grid disappear.
I have a Posts Grid on https://www.whurld.com/a-test-gallery/ and the query uses ‘girl’ a toolset custom post type and Included By Terms shows ‘On Site (77 items - [Girl-Status]’ and 77 posts show in the grid.
However, I need the results to be ordered by a Toolset custom field called girl-priority-number (so far the data entered in the 77 posts are mixture of numbers 1, 2, 3 and 4) and whenever I set Order By: to
Custom Field Value (numeric)
….and manually enter either the custom post name
Girl Priority Number
or the slug
girl-priority-number
….the 77 posts disappear and nothing displays.
Can you help me to get this to work please.
Many thanks,
Barry.
Hi Max,
Thank you. The log in is:
https://www.whurld.com/wp-admin/
U: support
P: Support6969/
The Post Grid is on https://www.whurld.com/a-test-gallery
It uses the default Post Grid widget.
There is a custom post type called Girls. Within it there is a custom field called 'Girl Priority Number' (girl-priority-number) and I need to get the Post Grid to order the entries by that custom field. Currently the 100 or so posts have numbers 1, 2, 3 or 4 added in the priority field. So there will be one or two posts with 1 and a bunch with 2, then 3 and more with 4. So the idea is that any girl with a priority number of 1 will display at the top of the grid, and then the girls with 2, followed by 3 and lastly all the girls with a priority of 4 at the bottom of the post grid.
Each time I edit the a-test-gallery page and within the Posts Query tab of Edit Post Grid I select Order By and choose Custom Field Value or Custom Field Value numeric and then type in 'girl-priority-number' all the entries in the grid disappear.
I'm hoping you might be able to help.
Many thanks,
Barry.
Hi Max,
I was so close....Thank you so much for doing this. It's really appreciated.
Many thanks,
Barry.