/var
/www
/maurisse
/biotaniqe.pl
/public
/wp-content
/themes
/movecloser
/page-templates
/page-product-list.php
/>
</div>
<?php endif;
endif; ?>
<?php if (get_field('is_alternative_title')): ?>
<div class="container">
<div class="row row-article-products-header">
<div class="col-xs-12">
<h1><?php the_field('alternative_title'); ?></h1>
</div>
</div>
</div>
<?php endif; ?>
<?php $posts = get_field('product_list'); ?>
<div class="container">
<div class="row">
<?php foreach ($posts as $post): ?>
<div class="col-sm-6 col-md-4">
<div class="product-box">
<a href="<?php echo get_permalink($post->ID); ?>">
<div class="product-box-img">
<div class="product-box-img__bg"
style="background-image: url(<?php echo get_the_post_thumbnail_url($post->ID, 'product-list'); ?>)"></div>
</div>
<?php if (get_field('is_alt_title', $post->ID)):?>
<h4><?php echo strip_tags(get_field('alt_title', $post->ID),'<br><br/>'); ?></h4>
<?php else:?>
<h4><?php echo $post->post_title; ?></h4>
<?php endif;?>
<div class="product-description"><?php the_field('opis_krotki_na_liscie_produktow', $post->ID); ?></div>
<button class="btn-product">
<?php pll_e("Dowiedz się więcej");?>
</button>
</a>
</div>
</div>
<?php endforeach; ?>
/var
/www
/maurisse
/biotaniqe.pl
/public
/wp-content
/themes
/movecloser
/page-templates
/page-product-list.php
/>
</div>
<?php endif;
endif; ?>
<?php if (get_field('is_alternative_title')): ?>
<div class="container">
<div class="row row-article-products-header">
<div class="col-xs-12">
<h1><?php the_field('alternative_title'); ?></h1>
</div>
</div>
</div>
<?php endif; ?>
<?php $posts = get_field('product_list'); ?>
<div class="container">
<div class="row">
<?php foreach ($posts as $post): ?>
<div class="col-sm-6 col-md-4">
<div class="product-box">
<a href="<?php echo get_permalink($post->ID); ?>">
<div class="product-box-img">
<div class="product-box-img__bg"
style="background-image: url(<?php echo get_the_post_thumbnail_url($post->ID, 'product-list'); ?>)"></div>
</div>
<?php if (get_field('is_alt_title', $post->ID)):?>
<h4><?php echo strip_tags(get_field('alt_title', $post->ID),'<br><br/>'); ?></h4>
<?php else:?>
<h4><?php echo $post->post_title; ?></h4>
<?php endif;?>
<div class="product-description"><?php the_field('opis_krotki_na_liscie_produktow', $post->ID); ?></div>
<button class="btn-product">
<?php pll_e("Dowiedz się więcej");?>
</button>
</a>
</div>
</div>
<?php endforeach; ?>
/var
/www
/maurisse
/biotaniqe.pl
/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;
}
/var
/www
/maurisse
/biotaniqe.pl
/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';
}
/var
/www
/maurisse
/biotaniqe.pl
/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';