-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.php
More file actions
26 lines (22 loc) · 831 Bytes
/
Copy pathindex.php
File metadata and controls
26 lines (22 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php get_header(); ?>
<div id="main-content">
<div class="container">
<div id="content-area" class="<?php extra_sidebar_class(); ?> clearfix">
<div class="et_pb_extra_column_main">
<?php if ( is_search() ) { ?>
<h1><?php printf( esc_html__( 'Search Results for: %s', 'extra' ), get_search_query() ); ?></h1>
<?php } else if ( is_archive() ) { ?>
<h1><?php the_archive_title(); ?></h1>
<div class="archive-description"><?php echo term_description(); ?></div>
<?php } ?>
<?php if ( is_extra_tax_layout() ) { ?>
<?php extra_tax_layout(); ?>
<?php } else { ?>
<?php require locate_template( 'index-content.php' ); ?>
<?php } ?>
</div>
<?php get_sidebar(); ?>
</div> <!-- #content-area -->
</div> <!-- .container -->
</div> <!-- #main-content -->
<?php get_footer();