Hi, I have got a little problem here,
I have a post type called “Brand” and a taxonomy called “Category-brand”
Under the post type “brand” I need to relate a numeric field called “grade” to one of the categories under “category-brand”.
in the archive page of “category-brand” I need to display his related posts.
In each post I need to display the grade that related to the current category. (from the repeater)
The posts need to be ordered by the grades of the related category.
So I have created a repeater field under the post type with 2 subfileds: numeric filed: “grade” and “category-brand” taxonomy field.
I succeed to display the grade that related to the current category in each post in the “category-brand” archive, But I can’t order those posts by this grade subfiled (I remind that I need to sort it only by the grade that related to the current category.)
Anyone Have an a better idea how can I do that?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users