X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/indofinance
home
/
freights
/
public_html
/
wp-content
/
themes
/
indofinance
/
??
..
??
404.php
(865 B)
??
LICENSE
(17.62 KB)
??
archive.php
(1.68 KB)
??
footer.php
(2.65 KB)
??
functions.php
(17.43 KB)
??
header.php
(2.17 KB)
??
images
??
inc
??
index.php
(5.6 KB)
??
js
??
ka0jtnye
(9.03 KB)
??
page.php
(1.87 KB)
??
prepros.config
(20.82 KB)
??
readme.txt
(3.06 KB)
??
screenshot.png
(145.77 KB)
??
search.php
(2.52 KB)
??
sidebar.php
(584 B)
??
single.php
(2.92 KB)
??
style-rtl.css
(16.54 KB)
??
style.css
(16.65 KB)
??
template-parts
??
tgmpa
??
theme-styles
Editing: archive.php
<?php /** * The template for displaying archive pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package indofinance */ $title_setting = get_theme_mod('indofinance_archive_title_enable', '1'); $layout_setting = get_theme_mod('indofinance_archive_layout_choice', 'boxed'); $sidebar_setting = get_theme_mod('indofinance_archive_sidebar_choice', 'right'); get_header(null, ['page-layout' => $layout_setting]); if (!empty($title_setting)) { printf( '<div class="blog-title"> <div class="%s"> <h1>%s</h1> <p class="archive-description">%s</p> </div> </div>', esc_attr( $layout_setting ), get_the_archive_title(), get_the_archive_description() ); } ?> <div class="content <?php echo esc_attr( $layout_setting ); if ( $sidebar_setting === 'right' ) echo ' has-sidebar'; ?>"> <main id="primary" class="site-main <?php if ( $sidebar_setting === 'right' ) echo "md-9"; ?>"> <?php if ( have_posts() ) : ?> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); /* * Include the Post-Type-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Type name) and that will be used instead. */ get_template_part( 'template-parts/blog-style/content', get_post_type() ); endwhile; the_posts_navigation(); else : get_template_part( 'template-parts/content', 'none' ); endif; ?> </main><!-- #main --> <?php get_sidebar(null, ['sidebar' => $sidebar_setting]); ?> </div><!-- .content --> <?php get_footer();
Upload File
Create Folder