/home
/noveo4
/domains
/biotaniqe.pl
/public_html
/public
/wp-content
/themes
/movecloser
/index.php
// } else {
// $actual_term_id = $key->term_id;
// break;
// }
// }
?>
<?php
$page_object = get_queried_object();
$args = array(
'posts_per_page' => -1,
'tax_query' => array(
array(
'taxonomy' => 'categoryproduct',
'field' => 'term_id',
'terms' => $page_object->term_id,
)
)
);
$posts = new WP_Query($args);
$posts = $posts->posts;
?>
<?php if( get_field('category_image', $page_object) ): ?>
<div class="row main-banner">
<?php echo wp_get_attachment_image(get_field('category_image', $page_object), array(1920), "", array( "class" => "img-responsive" )); ?>
</div>
<?php else: ?>
<div class="container">
<div class="row">
<div class="col-md-2 col-xs-1"></div>
<div class="col-md-8 col-xs-10">
<div class="row-article-products-header"><h2><?php echo $page_object->name; ?></h2></div>
/home
/noveo4
/domains
/biotaniqe.pl
/public_html
/public
/wp-content
/themes
/movecloser
/index.php
// } else {
// $actual_term_id = $key->term_id;
// break;
// }
// }
?>
<?php
$page_object = get_queried_object();
$args = array(
'posts_per_page' => -1,
'tax_query' => array(
array(
'taxonomy' => 'categoryproduct',
'field' => 'term_id',
'terms' => $page_object->term_id,
)
)
);
$posts = new WP_Query($args);
$posts = $posts->posts;
?>
<?php if( get_field('category_image', $page_object) ): ?>
<div class="row main-banner">
<?php echo wp_get_attachment_image(get_field('category_image', $page_object), array(1920), "", array( "class" => "img-responsive" )); ?>
</div>
<?php else: ?>
<div class="container">
<div class="row">
<div class="col-md-2 col-xs-1"></div>
<div class="col-md-8 col-xs-10">
<div class="row-article-products-header"><h2><?php echo $page_object->name; ?></h2></div>
/home
/noveo4
/domains
/biotaniqe.pl
/public_html
/public
/wp-includes
/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
/home
/noveo4
/domains
/biotaniqe.pl
/public_html
/public
/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
/home
/noveo4
/domains
/biotaniqe.pl
/public_html
/public
/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';