Hi,
Just below the breadcrumbs we display the author information (from that post). But we don’t want to display it for all authors. This way, how can we select this or that author to de displayed.
I’ve tried to use the following, but it didn’t work
<?php if ( is_author( '15' ) ) : ?>
<div class="specialist"><img src="https://xxxxxx.com.br/wp-content/uploads/2019/11/xxxx.png" /> Specialist: <?php the_author_posts_link(); ?></div>
<?php endif; ?>
The element hook is configured to display before content to all posts.