HEX
Server: Apache/2
System: Linux vps33975.sdns.vn 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64
User: agritom (1060)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/agritom/public_html/wp-content/themes/fukasawa/template-parts/archive-list.php
<?php

/* 
	Included as part of template-archive.php.
 */

?>

<div class="archive-container">
					
	<h3><?php _e( 'Posts', 'fukasawa' ); ?></h3>
									
	<ul>
		<?php 
		
		$posts_archive = get_posts( array(
			'post_status'		=> 'publish',
			'posts_per_page'	=> -1,
		) );

		foreach ( $posts_archive as $archive_post ) : ?>
			<li>
				<a href="<?php echo get_the_permalink( $archive_post->ID ); ?>">
					<?php echo get_the_title( $archive_post->ID );?> 
					<time><?php echo get_the_time( get_option( 'date_format' ), $archive_post->ID ); ?></time>
				</a>
			</li>
		<?php endforeach; ?>
	</ul>
	
	<h3><?php _e( 'Categories','fukasawa') ?></h3>
	
	<ul>	            
		<?php wp_list_categories( 'title_li='); ?>
	</ul>
	
	<h3><?php _e( 'Tags','fukasawa') ?></h3>
	
	<ul>
		<?php 
							
		$tags = get_tags();
		
		if ( $tags ) {
			foreach ( $tags as $tag ) {
				echo '<li><a href="' . get_tag_link( $tag->term_id ) . '">' . $tag->name . '</a></li> ';
			}
		}
		?>
	</ul>
	
	<h3><?php _e( 'Contributors', 'fukasawa' ); ?></h3>
	
	<ul>
		<?php wp_list_authors(); ?> 
	</ul>
	
	<h3><?php _e( 'Archives by Year', 'fukasawa' ); ?></h3>
	
	<ul>
		<?php wp_get_archives( 'type=yearly' ); ?>
	</ul>
	
	<h3><?php _e( 'Archives by Month', 'fukasawa' ); ?></h3>
	
	<ul>
		<?php wp_get_archives( 'type=monthly' ); ?>
	</ul>

	<h3><?php _e( 'Archives by Day', 'fukasawa' ); ?></h3>
	
	<ul>
		<?php wp_get_archives( 'type=daily' ); ?>
	</ul>

</div><!-- .archive-container -->