Support

Account

Forum Replies Created

  • @chewienator i had the same issue today and i’ve figured out that i have to modify pre_get_posts action that i had declared.

    function mine_add_custom_types( $query ) {
      if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) {
        $query->set( 'post_type', array(
         'post', 'nav_menu_item', 'quiz', 'acf-field', 'acf-field-group', 'listicle'
    		));
    	  return $query;
    	}
    }
    add_filter( 'pre_get_posts', 'mine_add_custom_types' );

    as you see i had to add post_types: ‘acf-field’, ‘acf-field-group’ to pull proper options values.

Viewing 1 post (of 1 total)