Support

Account

Home Forums Backend Issues (wp-admin) Position and rules of/for field group

Solved

Position and rules of/for field group

  • Hi,

    i am trying to show a field group in posts and pages, but not on two particular pages using particular templates. I am sure i used to achieve this by setting

    post type is equal page
    post type is equal posts
    page template is unequal template a
    page template is unequal template b

    My problem is, the field group keeps showing up on the pages using the template anyway.

    Is this a known issue?

  • Hi nwde, you tried something like this?

  • You need 2 sets of conditions, I’m not sure if this is what you have. If those are all “AND” I’m not sure how the group is showing up anywhere.

    
      post type = page AND
      page template != template A AND
      page template != template B
    
    OR
    
      post type = post
      // also include page templates here if they can be used on posts
    
  • Thank you! I had to group ifelse-loops for pages, group them for posts and group them for custom content, it worked.

    post type equals page
    page unequal index
    page unuequl news

    post type equals events

    etc. etc.

    Stupid me 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Position and rules of/for field group’ is closed to new replies.