示例#1
0
/**
 * The home page template
 * 
 **/
get_header();
?>

	<?php 
if (have_posts()) {
    ?>
		
		<?php 
    while (have_posts()) {
        the_post();
        $page = new ACFPost($post);
        ?>

			<article class="home page" itemscope itemtype="http://schema.org/WebPage">

	
				<?php 
        tpl_wrapper_header_open();
        ?>

					<header>

						<h1 itemprop="headline" class="title"><?php 
        echo $page->post_title;
        ?>
</h1>
示例#2
0
/**
 * The login page template
 * 
 **/
get_header();
?>

  <?php 
if (have_posts()) {
    ?>
    
    <?php 
    while (have_posts()) {
        the_post();
        $page = new ACFPost($post);
        ?>

      <article class="reset-password page" itemscope itemtype="http://schema.org/WebPage">


        <?php 
        tpl_wrapper_header_open();
        ?>

          <header>

            <h1 itemprop="headline" class="title"><?php 
        echo $page->post_title;
        ?>
</h1>