Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

custom archive page, filter by custom field?

Home / Forums / Kadence Theme / custom archive page, filter by custom field?

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Theme
June 18, 2022 at 12:10 pm

it is possible to filter the posts based on a custom field. I’m using MetaBox to create CPT and Fields. i have this field who gives me a user selection and in the DB it saves that selected user ID’s.

i wanted to show that selected user when he logged in only the post with his ID, so the idea will be to compare this field with the current user id.

i don’t know too much about coding but I’m still learning, so if anyone who can help me with a snippet o guide me where to search, I’ll appreciate very much.

  • The forum ‘Kadence Theme’ is closed to new topics and replies.