Exemplo n.º 1
0
')"></div>
            <div class="hotel-info col-50-block">
                <h3 class="name"><?php 
    echo get_i18n_meta(get_the_ID(), 'title', true, true);
    ?>
</h3>
                <h5 class="rating"><?php 
    echo get_i18n_meta(get_the_ID(), 'hotelStar', true, true);
    ?>
</h5>
                <div class="address">
                	<?php 
    echo get_i18n_meta(get_the_ID(), 'address', true, true);
    ?>
                	<br>(订房热线<?php 
    echo get_i18n_meta(get_the_ID(), 'phone', true, true);
    ?>
)
                </div>
                <div class="hotel-btn">
                    <a href="<?php 
    the_permalink();
    ?>
">查看详情</a>
                </div>
            </div>
        </div>
        <div class="col-50-block">
            <div class="hotel-desc">
                <?php 
    //the_content('',FALSE,'');
Exemplo n.º 2
0
/* The loop */
?>
			<?php 
while (have_posts()) {
    the_post();
    ?>

				<?php 
    //get_template_part( 'content', get_post_format() );
    ?>
				<?php 
    //twentythirteen_post_nav();
    ?>

				<div><?php 
    echo get_i18n_meta(get_the_ID(), 'title', true, true);
    ?>
</div>
				<div class="article"><?php 
    echo get_i18n_content(get_post(get_the_ID())->post_content);
    ?>
</div>

				<?php 
    comments_template();
    ?>

			<?php 
}
?>
Exemplo n.º 3
0
        中文名:<?php 
echo get_i18n_meta(get_the_ID(), 'foodname', true, true);
?>
<br/>
        主要食材:<?php 
echo get_i18n_meta(get_the_ID(), 'foodmaterial', true, true);
?>
<br/>
        分    类:<?php 
echo get_i18n_meta(get_the_ID(), 'foodclass', true, true);
?>
<br/>
        口    味:<?php 
echo get_i18n_meta(get_the_ID(), 'flavor', true, true);
?>
<br/>
        辅    料:<?php 
echo get_i18n_meta(get_the_ID(), 'seasoning', true, true);
?>
<br/>
    </div>
    <div style="clear:both;"></div>
</div>






<?php 
get_footer();
Exemplo n.º 4
0
        ?>
        	<?php 
        echo $head;
        ?>
<span class="sub"><?php 
        echo $end;
        ?>
</span><br/>
        <?php 
    }
}
?>
<br />
        <br />
        <?php 
$trafics = get_i18n_meta(get_the_ID(), 'trafic', false, true);
if ($trafics) {
    ?>
        交通<br />
        <?php 
    foreach ($trafics as $trafic) {
        echo $trafic . '<br/>';
    }
}
?>
        <img id="baidu_map" src="/assets/img/jiudian_baidu_map.png" style="margin-top: 100px"/>
        </div>
        <div style="clear:both;"></div>
        <?php 
comments_template();
?>
Exemplo n.º 5
0
        ?>
			<div class="col-25-block hotel-item">
                <a href="<?php 
        the_permalink();
        ?>
">
                <div class="hotel-img" style="background-image: url('<?php 
        echo $img_url;
        ?>
');"></div>
                <h3><?php 
        echo get_i18n_meta(get_the_ID(), 'title', true, true);
        ?>
</h3>
                <div class="hotel-desc"><?php 
        echo get_i18n_meta(get_the_ID(), 'hotelDesc', true);
        ?>
</div>
                </a>
            </div>
				<?php 
    }
}
?>
            <div style="clear:both;"></div>
        </div>
    </div>
	
	<!-- 美食模块 -->
	<div id="cate" class="grey" style="padding: 60px 8%">
        <h2 class="index-title">
Exemplo n.º 6
0
?>
<br />
        地址:<?php 
echo get_i18n_meta(get_the_ID(), 'address', true, true);
?>
<br />
        开放时间:<?php 
echo get_i18n_meta(get_the_ID(), 'openninghours', true, true);
?>
<br />
        门票:<?php 
echo get_i18n_meta(get_the_ID(), 'ticket', true, true);
?>
<br />
        交通:<?php 
echo get_i18n_meta(get_the_ID(), 'traffic', true, true);
?>
<br />
        <img id="baidu_map" src="/assets/img/jingdian_baidu_map.png" style="margin-top: 40px"/>
    </div>


    <div style="clear:both;"></div>
</div>






<?php