black friday sale

Custom Fields
Re-Envisioned
Support General Group by post type in `post` field

  • Creator
    Topic
  • #21394
    Resolved ossama saeed
    Participant

    Hello,

    Is it doable to group by the post type name in the ‘post’ field?

    Thank you,

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #21397
    Long Nguyen
    Moderator

    Hi,

    The field post only supports to query and show all posts in an array of post types, as the WP_Query does. The simple way, in this case, is to create two fields post then each field select a post type.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.