$letter = current_letter();
add_filter('posts_where', function($where) use ($letter) {
return $where .= " AND post_title LIKE '".$letter."%'";
});
add_filter('posts_where', function($where) {
$letter = current_letter();
return $where .= " AND post_title LIKE '".$letter."%'";
});
<?php if ( $value = get_field('название поля') ): ?>
<?php echo $value; ?>
<?php endif; ?>
<?php the_field('название поля') ?>
$posts = get_field('profession');
print_r($posts);