Delete author.php

This commit is contained in:
ai-bot committed 2026-10-14 08:57:43 +00:00
1 parent b51a93cd67
commit 0529736555
1 file changed
-35
-35
View File
@@ -1,35 +0,0 @@
<?php
/**
* Author archive template.
*
* @package Super_Simple_WP_Theme
*/
get_header();
$sswt_author = get_the_author_meta( 'display_name', get_the_author_meta( 'ID' ) );
$sswt_heading = sprintf(
/* translators: %s: author display name. */
__( 'Forfattar: %s', 'super-simple-wp-theme' ),
$sswt_author
);
?>
<h2 class="entry-title search"><?php echo esc_html( $sswt_heading ); ?></h2>
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php
endwhile;
endif;
get_footer();