Support

Account

Home Forums General Issues How to show field only in the selected category? Reply To: How to show field only in the selected category?

  • You need to check to see if what you’re showing is in the category, but you really don’t have enough information here for me to tell what you’re doing. Is this on a category archive page or a post in the archive?

    Basically

    
    if (/* Your condition to check if it's the right category here */) {
      the_field('jobs', $this->post->ID);
    }