The Basic theme setting "Display Author Info" is not behaving totally as expected, as it still appears in the template for the search results in the
- Code: Select all
<aside class="meta">
I could only fix/hack this with CSS override.
Regards,
Thomas.
<aside class="meta">
<?php if(get_option($tpl->name . '_template_show_author_info') == 'Y'): ?>
<dt class="author">
<?php _e('Author:', GKTPLNAME); ?>
</dt>
<dd>
<a class="url fn n" href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>" title="<?php echo esc_attr(sprintf(__('View all posts by %s', GKTPLNAME), get_the_author())); ?>" rel="author"><?php echo get_the_author(); ?></a>
</dd>
<?php endif; ?>