<?php
if( ! defined( 'ABSPATH' ) ) { die(); }
global $avia_config, $more;
/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();
$showheader = true;
if( avia_get_option( 'frontpage' ) && $blogpage_id = avia_get_option( 'blogpage' ) )
{
if( get_post_meta( $blogpage_id, 'header', true ) == 'no' )
{
$showheader = false;
}
}
if( $showheader )
{
echo avia_title( array( 'title' => avia_which_archive() ) );
}
do_action( 'ava_after_main_title' );
?>
<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
<div class='container template-blog '>
<main class='content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper( array( 'context' => 'content', 'post_type' => 'post' ) );?>>
<?php
$tds = term_description();
if( $tds )
{
echo "<div class='category-term-description'>{$tds}</div>";
}
$avia_config['blog_style'] = apply_filters( 'avf_blog_style', avia_get_option( 'blog_style', 'multi-big' ), 'archive' );
if( $avia_config['blog_style'] == 'blog-grid' )
{
global $posts;
$post_ids = array();
foreach( $posts as $post )
{
$post_ids[] = $post->ID;
}
if( ! empty( $post_ids ) )
{
$atts = array(
'type' => 'grid',
'items' => get_option( 'posts_per_page' ),
'columns' => 3,
'class' => 'avia-builder-el-no-sibling',
'paginate' => 'yes',
'use_main_query_pagination' => 'yes',
'custom_query' => array(
'post__in' => $post_ids,
'post_type' => get_post_types()
)
);
/**
* @since 4.5.5
* @return array
*/
$atts = apply_filters( 'avf_post_slider_args', $atts, 'archive' );
$blog = new avia_post_slider( $atts );
$blog->query_entries();
echo '<div class="entry-content-wrapper">' . $blog->html() . '</div>';
}
else
{
get_template_part( 'includes/loop', 'index' );
}
}
else
{
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
$more = 0;
get_template_part( 'includes/loop', 'index' );
}
?>
<!--end content-->
</main>
<?php
//get the sidebar
if( avia_get_option( 'archive_sidebar' ) == 'archive_sidebar_separate' )
{
$avia_config['currently_viewing'] = 'archive';
}
else
{
$avia_config['currently_viewing'] = 'blog';
}
get_sidebar();
?>
</div><!--end container-->
</div><!-- close default .container_wrap element -->
<?php
get_footer();
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| config-bbpress/ | 2023-02-04 23:45 | 64.06 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-events-calendar/ | 2023-02-04 23:45 | 76.56 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-gravityforms/ | 2023-02-04 23:46 | 7.87 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-gutenberg/ | 2023-02-04 23:46 | 132.44 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-instagram-feed/ | 2023-02-04 23:45 | 49.49 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-layerslider/ | 2023-02-04 23:45 | 9.65 MB | 76129f60960:kunden | dxwrx-rx-r | |
| config-leaflet-maps/ | 2023-02-04 23:45 | 2.78 MB | 76129f60960:kunden | dxwrx-rx-r | |
| config-menu-exchange/ | 2023-02-04 23:45 | 997 B | 76129f60960:kunden | dxwrx-rx-r | |
| config-pojo-accessibility/ | 2023-02-04 23:45 | 5.64 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-rank-math/ | 2023-02-04 23:46 | 4.58 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-relevanssi/ | 2023-02-04 23:45 | 3.53 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-templatebuilder/ | 2023-02-04 23:46 | 6.24 MB | 76129f60960:kunden | dxwrx-rx-r | |
| config-woocommerce/ | 2023-02-04 23:46 | 413.12 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-wordpress-seo/ | 2023-02-04 23:45 | 13.43 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-wp-accessibility/ | 2023-02-04 23:45 | 5.2 KB | 76129f60960:kunden | dxwrx-rx-r | |
| config-wpml/ | 2023-02-04 23:45 | 99.13 KB | 76129f60960:kunden | dxwrx-rx-r | |
| css/ | 2023-02-04 23:45 | 437.77 KB | 76129f60960:kunden | dxwrx-rx-r | |
| dev/ | 2023-02-04 23:46 | 342.69 KB | 76129f60960:kunden | dxwrx-rx-r | |
| framework/ | 2023-02-04 23:45 | 2.09 MB | 76129f60960:kunden | dxwrx-rx-r | |
| images/ | 2023-02-04 23:45 | 3.46 MB | 76129f60960:kunden | dxwrx-rx-r | |
| includes/ | 2023-02-04 23:45 | 808.55 KB | 76129f60960:kunden | dxwrx-rx-r | |
| js/ | 2023-02-04 23:45 | 435.67 KB | 76129f60960:kunden | dxwrx-rx-r | |
| lang/ | 2023-02-04 23:46 | 39.06 MB | 76129f60960:kunden | dxwrx-rx-r | |
| 404.php | 2023-02-04 23:45 | 1.25 KB | 76129f60960:kunden | -xw-x----- | |
| archive.php | 2023-02-04 23:45 | 2.91 KB | 76129f60960:kunden | -xw-x----- | |
| author.php | 2023-02-04 23:45 | 2.02 KB | 76129f60960:kunden | -xw-x----- | |
| comments.php | 2023-02-04 23:45 | 5.75 KB | 76129f60960:kunden | -xw-x----- | |
| config-include.php | 2023-02-04 23:45 | 1.57 KB | 76129f60960:kunden | -xw-x----- | |
| footer.php | 2023-02-04 23:45 | 9.66 KB | 76129f60960:kunden | -xw-x----- | |
| forum.php | 2023-02-04 23:45 | 1.77 KB | 76129f60960:kunden | -xw-x----- | |
| functions-enfold.php | 2023-02-04 23:45 | 72.07 KB | 76129f60960:kunden | -xw-x----- | |
| functions.php | 2023-02-04 23:45 | 36.13 KB | 76129f60960:kunden | -xw-x----- | |
| header.php | 2023-02-04 23:45 | 8.11 KB | 76129f60960:kunden | -xw-x----- | |
| index.php | 2023-02-04 23:45 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| page.php | 2023-02-04 23:45 | 1.37 KB | 76129f60960:kunden | -xw-x----- | |
| screenshot.png | 2023-02-04 23:45 | 144.35 KB | 76129f60960:kunden | -xw-x----- | |
| search.php | 2023-02-04 23:45 | 1.75 KB | 76129f60960:kunden | -xw-x----- | |
| searchform.php | 2023-02-04 23:45 | 1.32 KB | 76129f60960:kunden | -xw-x----- | |
| sidebar.php | 2023-02-04 23:45 | 4.29 KB | 76129f60960:kunden | -xw-x----- | |
| single-portfolio.php | 2023-02-04 23:45 | 1.29 KB | 76129f60960:kunden | -xw-x----- | |
| single.php | 2023-02-04 23:45 | 1.99 KB | 76129f60960:kunden | -xw-x----- | |
| style.css | 2023-02-04 23:45 | 1.1 KB | 76129f60960:kunden | -xw-x----- | |
| tag.php | 2023-02-04 23:45 | 5.87 KB | 76129f60960:kunden | -xw-x----- | |
| taxonomy-portfolio_entries.php | 2023-02-04 23:45 | 1.38 KB | 76129f60960:kunden | -xw-x----- | |
| template-archives.php | 2023-02-04 23:45 | 7.14 KB | 76129f60960:kunden | -xw-x----- | |
| template-blank.php | 2023-02-04 23:45 | 654 B | 76129f60960:kunden | -xw-x----- | |
| template-builder.php | 2023-02-04 23:45 | 4.91 KB | 76129f60960:kunden | -xw-x----- | |
| theme.json | 2023-02-04 23:45 | 3.26 KB | 76129f60960:kunden | -xw-x----- | |
| wpml-config.xml | 2023-02-04 23:45 | 3.69 KB | 76129f60960:kunden | -xw-x----- | |