Edit File: author.php
<?php /** * Archive page (Category, tag, search results etc.) * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package orun */ defined( 'ABSPATH' ) || exit; // Exit directly $options = get_option( 'orun_opt' ); // Options get_header(); ?> <main id="primary" class="site-main"> <div class="author-title"> <div class="container"> <div class="row"> <div class="author-img-area"> <img src="<?php echo esc_url(get_avatar_url( get_the_author_meta('ID') )); ?>" alt="<?php echo get_the_author_meta('display_name'); ?>" width="108" height="108"> </div> <div class="author-text-area"> <?php archive_breadcrumb_schema(); the_archive_title( '<h1 class="page-title">', '</h1>' ); the_archive_description( '<div class="archive-description"><p>', '</p></div>' ); echo orun_author_social_icons_f(); ?> </div> </div> </div> </div> <div id="orun-home-area" class="container"> <div class="row"> <div id="orun-home-main"> <div class="orun-pm orun-pm-1"> <?php if (have_posts() ) { while ( have_posts() ) : the_post(); get_template_part( 'template-parts/post/post','1' ); endwhile; the_posts_pagination( array( 'mid_size' => 1, 'prev_text' => __( '<i class="fas fa-angle-left"></i>', 'orun' ), 'next_text' => __( '<i class="fas fa-angle-right"></i>', 'orun' ), ) ); } else { echo _e('Üzgünüz yazı bulunamadı.', 'orun'); } ?> </div> </div> <?php get_sidebar(); ?> </div> </div> </main><!-- #main --> <?php get_sidebar(); get_footer();