コード例 #1
0
ファイル: template-about.php プロジェクト: joewatts000/Enable
<?php

/* Template Name: About Page */
get_header();
get_template_part('inc/banner');
?>
	<div role="main" class="page-content">
		
		<div class="row">
			<div class="content_wrap">
				<?php 
custom_breadcrumbs();
?>
			</div>
		</div>
		
		<section class="row">
			<div class="content_wrap">
				<h1 class="page-title"><?php 
the_title();
?>
</h1>		
					<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
						<article id="post-<?php 
        the_ID();
        ?>
" <?php 
コード例 #2
0
ファイル: single-news.php プロジェクト: vunh1989/evacorp2
}
?>
<div id="news">
    <div class="head-banner-wrap yellow">
        <div class="container text-center">
            <div class="col-md-12">
                <h2><?php 
echo $post_type->label;
?>
</h2>
            </div>
        </div>
    </div>     
    <div class="row-gap-medium"></div>
    <?php 
custom_breadcrumbs('news');
?>
    <div class="row-gap-medium"></div>
    <div class="container center bpo-1">
        <?php 
// get_sidebar('news')
?>
        <div class="content post-detail col-md-12">
            <div class="row">
                <div class="post-date text-center">( <?php 
the_time('Y.m.d');
?>
 )</div>
                <h2 class="post-title text-center"><?php 
the_title();
?>
コード例 #3
0
ファイル: page-company.php プロジェクト: localyeva/evaservice
<?php

/*
 * Author: KhangLe
 * Template Name: Company
 *
 */
get_header();
$post_type = get_post_type_object('company');
?>
<div id="company-profile">
    <div class="container-fluid bg-silver">
        <?php 
custom_breadcrumbs('company');
?>
    </div>
    <div class="row-gap-medium"></div>
    <div class="container-fluid">
        <div class="head-banner-wrap no-background row text-capitalize">
            <h2><?php 
echo translateX('Company');
?>
</h2>
        </div>
    </div>
    <div class="container-fluid text-center" id="detail-contact">
        <div class="container detail">
            <h1 class="text-capitalize"><?php 
echo translateX('Company profile');
?>
</h1>
コード例 #4
0
<?php

/*
 * Author: Truong Ly
 * Template Name: Contact-Thankyou
 *
 */
get_header();
?>

<section>
    <div class="container-fluid bg-silver">
        <?php 
custom_breadcrumbs('contact');
?>
    </div>
    <div class="row-gap-medium"></div>
    <div class="head-banner-wrap no-background">
                <h2>お問い合わせ</h2>
    </div>
    <div class="row-gap-medium"></div>
    <div class="container contact">
       <div class="row" style="max-width:800px;margin:auto;">
        <p class="t20b20 taC fwB fz16"> お問い合わせありがとうございます。 </p>
            <p class="t20b20">送信が完了いたしました。<br />
                弊社で確認後、折り返しご連絡させていただきます。<br />
            </p>
            <p class=" t20b0 txtContact02 fwB"><a href="/">←TOPへ戻る</a></p>
            <p class="taC t30b0">上記フォームで送信できない場合は、必要項目をご記入の上、<br />
                <a href="mailto:info@evolable.asia">info@evolable.asia</a>までメールをお送りください。</p>
       </div>
コード例 #5
0
    }
}
$service_details = get_field('detail');
$categories = array();
$terms = get_the_terms(get_the_ID(), 'service-type');
$tmp = $terms;
$terms = array();
foreach ($tmp as $term) {
    $categories[] = $term->name;
    $terms[] = $term->slug;
}
?>
<div id="services">
    <div class="container-fluid bg-silver">
        <?php 
custom_breadcrumbs('services');
?>
    </div>
    <div class="row-gap-medium"></div>
    <div class="container-fluid">
        <div class="container">
            <div class="col-md-12">
                <h2 class="title"><?php 
the_title();
?>
</h2>
                <?php 
if (!empty($categories) && count($categories) > 0) {
    ?>
                    <span class="category"><?php 
    echo implode(', ', $categories);