| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/d2m/sofident_cz/wp-content/themes/sofident/ |
Upload File : |
<?php
/**
*
* Template Name: Technology Template
*
* @package Sofident
*/
get_header();
?>
<div id="primary" class="content-area container">
<main id="main" class="site-main row single-service" role="main">
<section class="technology col-xs-12 col-sm-offset-1 col-sm-10 col-md-offset-2 col-md-8">
<?php
$args = array( 'post_type' => 'technology', 'posts_per_page' => -1 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
$id = get_the_ID();
$title = get_the_title();
echo '<article class="single-technology row wow fadeIn"><div class="col-xs-12 col-sm-4 tech-image">';
$lazy = get_the_post_thumbnail_url($id, 'lazy');
$thumb = get_the_post_thumbnail_url($id, 'dentist');
lazyImage($thumb, $lazy, $title, "img-circle");
echo '</div><div class="col-xs-12 col-sm-8 tech-text">';
echo "<h2>" . $title . "</h2>";
the_content();
$link = get_field('service_link');
if (isSet($link)) {
echo '<a href="' . $link .'">' . __('Čtěte více', 'sofident') . '</a>';
}
echo '</div></article>';
endwhile;
?>
</section>
</main><!-- #main -->
</div><!-- #primary -->
<div class="clear clear-fix"></div>
<?php
$contact_type = 'frontpage';
include('template-parts/request-cover.php');
get_footer();