| Server IP : 14.225.204.176 / Your IP : 216.73.216.252 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/blog-kindie/wp-content/themes/blogkindie/ |
Upload File : |
<?php
/**
* Display page for the theme.
*
* @copyright ZiniMedia 2016
* @version Release: 0.1
* @package blogkindie
* @author ZiniMedia-BM
*/
?>
<?php get_header(); ?>
<!-- main content -->
<main class="main-content <?php the_ID()?>">
<!-- section-header-page -->
<?php if (has_post_thumbnail()) {
$imgUrl = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'full', false );
$imgUrl = $imgUrl[0];
} else{
$imgUrl = get_template_directory_uri() . '/assets/images/bg/bg-about-us.jpg';
}
?>
<section class="section-header-page about-us" style="background-image: url(<?php echo $imgUrl; ?>);">
<div class="container">
<h1 class="title-page h2"><?php the_title(); ?></h1>
<?php if( 105 == get_the_ID()) { ?>
<div class="sub-title-page">BLOGKINDIE - General in happiness - bảo hiểm vàng cho sức khỏe và hạnh phúc</div>
<?php } ?>
</div>
</section>
<!-- e: section-header-page -->
<div class="primary-content">
<?php the_content(); ?>
<?php if( 105 == get_the_ID()) {
get_template_part("templates/entry/home-doctors");
get_template_part("templates/entry/home-partners");
}
?>
</div>
<?php echo do_shortcode('[contact-form-7 id="3137" title="Contact form 1"]') ?>
</main>
<!-- e: main content -->
<?php get_footer(); ?>