HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/lipovac/wp-content/themes/senior/author.php
<?php
/**
 * The template for displaying Author archive pages.
 *
 * @package WordPress
 * @subpackage Wheels
 */
get_header();
?>

<?php get_template_part( 'templates/title' ); ?>

	<div class="<?php echo wheels_class( 'main-wrapper' ) ?>">
		<div class="<?php echo wheels_class( 'container' ) ?>">
			<div class="<?php echo wheels_class( 'content' ) ?>">

				<?php if ( have_posts() ) : ?>

					<?php
					/* Queue the first post, that way we know
					 * what author we're dealing with (if that is the case).
					 *
					 * We reset this later so we can run the loop
					 * properly with a call to rewind_posts().
					 */
					the_post();
					?>

					<?php
					/* Since we called the_post() above, we need to
					 * rewind the loop back to the beginning that way
					 * we can run the loop properly, in full.
					 */
					rewind_posts();
					?>

					<?php if ( get_the_author_meta( 'description' ) ) : ?>
						<?php get_template_part( 'templates/author-bio' ); ?>
					<?php endif; ?>

					<?php /* The loop */ ?>
					<?php while ( have_posts() ) : the_post(); ?>
						<?php get_template_part( 'templates/content', get_post_format() ); ?>
					<?php endwhile; ?>

				<?php else : ?>
					<?php get_template_part( 'templates/content', 'none' ); ?>
				<?php endif; ?>
				<div class="<?php echo wheels_class( 'pagination' ) ?>">
					<?php wheels_pagination(); ?>
				</div>
			</div>
			<div class="<?php echo wheels_class( 'sidebar' ) ?>">
				<?php get_sidebar(); ?>
			</div>
		</div>
	</div>
<?php get_footer(); ?>