$terminos_padre = get_terms( array(
'taxonomy' => 'clasificacion',
'hide_empty' => false, // true si solo quieres los que estén en uso
'parent' => 0,
) );
if ( !empty( $terminos_padre ) && !is_wp_error( $terminos_padre ) ) {
foreach ( $terminos_padre as $termino ) {
$link = get_term_link( $termino );
$desktop = get_field( 'desktop', 'clasificacion_' . $termino->term_id );
$mobile = get_field( 'mobile', 'clasificacion_' . $termino->term_id );
?>
}
}
?>