当前位置: 首页>>代码示例>>PHP>>正文


PHP x_get_view函数代码示例

本文整理汇总了PHP中x_get_view函数的典型用法代码示例。如果您正苦于以下问题:PHP x_get_view函数的具体用法?PHP x_get_view怎么用?PHP x_get_view使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了x_get_view函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: the_permalink

      <?php 
    }
    ?>
    <?php 
} else {
    ?>
    <header class="entry-header">
      <h2 class="entry-title">
        <a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    echo esc_attr(sprintf(__('Permalink to: "%s"', '__x__'), the_title_attribute('echo=0')));
    ?>
"><?php 
    x_the_alternate_title();
    ?>
</a>
      </h2>
    </header>
    <?php 
}
?>
    <?php 
x_get_view('integrity', '_content');
?>
  </div>
  <?php 
x_google_authorship_meta();
?>
</article>
开发者ID:Cywaithaka,项目名称:WPAN,代码行数:31,代码来源:content-page.php

示例2: x_main_content_class

      <div class="<?php 
x_main_content_class();
?>
" role="main">

        <?php 
if ($is_filterable_index) {
    ?>
          <?php 
    x_get_view('ethos', '_index');
    ?>
        <?php 
} else {
    ?>
          <?php 
    x_get_view('global', '_index');
    ?>
        <?php 
}
?>

      </div>

      <?php 
get_sidebar();
?>

    </div>
  </div>

<?php 
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:31,代码来源:wp-index.php

示例3: x_get_view

<?php

// =============================================================================
// 404.PHP
// -----------------------------------------------------------------------------
// Handles errors when pages do not exist.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's index, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "wp-404.php," where you'll be able to find the
// appropriate output.
// =============================================================================
?>

<?php 
x_get_view(x_get_stack(), 'wp', '404');
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:17,代码来源:404.php

示例4: the_ID

// Standard post output for Integrity.
// =============================================================================
?>

<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
  <div class="entry-featured">
    <?php 
x_featured_image();
?>
  </div>
  <div class="entry-wrap">
    <?php 
x_get_view('integrity', '_content', 'post-header');
?>
    <?php 
x_get_view('integrity', '_content');
?>
  </div>
  <?php 
x_get_view('integrity', '_content', 'post-footer');
?>
  <?php 
x_google_authorship_meta();
?>
</article>
开发者ID:Cywaithaka,项目名称:WPAN,代码行数:31,代码来源:content.php

示例5: get_header

<?php

// =============================================================================
// VIEWS/RENEW/WP-404.PHP
// -----------------------------------------------------------------------------
// Handles output for when a page does not exist.
// =============================================================================
?>

<?php 
get_header();
?>

  <div class="x-container max width offset">
    <div class="x-main full" role="main">
      <div class="entry-404">

        <?php 
x_get_view('global', '_content-404');
?>

      </div>
    </div>
  </div>

<?php 
get_footer();
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:27,代码来源:wp-404.php

示例6: x_get_view

<?php

// =============================================================================
// TEMPLATE NAME: Layout - WOLFGANG
// -----------------------------------------------------------------------------
// Handles output of fullwidth pages.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's index, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "template-layout-full-width.php," where you'll be
// able to find the appropriate output.
// =============================================================================
?>

<?php 
x_get_view(x_get_stack(), 'template', 'layout-wolfgang');
开发者ID:datracka,项目名称:datalook.io,代码行数:17,代码来源:wolfgang.php

示例7: x_get_view

// VIEWS/ETHOS/TEMPLATE-BLANK-7.PHP (Container | No Header, Footer)
// -----------------------------------------------------------------------------
// A blank page for creating unique layouts.
// =============================================================================
?>

<?php 
x_get_view('global', '_header');
?>

  <div id="top" class="site">
    <?php 
x_get_view('global', '_slider-revolution-above');
?>
    <?php 
x_get_view('global', '_slider-revolution-below');
?>
    <div class="x-container-fluid max width main">
      <div class="offset cf">
        <div class="x-main full" role="main">
          <article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
            <div class="entry-wrap entry-content">

              <?php 
while (have_posts()) {
开发者ID:Cywaithaka,项目名称:WPAN,代码行数:31,代码来源:template-blank-7.php

示例8: WP_Query

}
$wp_query = new WP_Query($args);
?>

  <?php 
if ($wp_query->have_posts()) {
    ?>
    <?php 
    while ($wp_query->have_posts()) {
        $wp_query->the_post();
        ?>
      <?php 
        if ($stack != 'ethos') {
            ?>
        <?php 
            x_get_view($stack, 'content', 'portfolio');
            ?>
      <?php 
        } else {
            ?>
        <?php 
            x_ethos_entry_cover('main-content');
            ?>
      <?php 
        }
        ?>
    <?php 
    }
    ?>
  <?php 
}
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:31,代码来源:_portfolio.php

示例9: x_get_view

// -----------------------------------------------------------------------------
// Header output for Icon.
// =============================================================================
?>

<?php 
x_get_view('global', '_header');
?>

  <?php 
x_get_view('global', '_slider-above');
?>

  <header class="<?php 
x_masthead_class();
?>
" role="banner">
    <?php 
x_get_view('global', '_topbar');
?>
    <?php 
x_get_view('global', '_navbar');
?>
    <?php 
x_get_view('icon', '_breadcrumbs');
?>
  </header>

  <?php 
x_get_view('global', '_slider-below');
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:30,代码来源:wp-header.php

示例10: x_get_view

<?php

// =============================================================================
// WOOCOMMERCE.PHP
// -----------------------------------------------------------------------------
// Handles output of individual WooCommerce pages.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's pages, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "woocommerce.php," where you'll be able to find
// the appropriate output.
// =============================================================================
?>

<?php 
x_get_view(x_get_stack(), 'woocommerce');
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:17,代码来源:woocommerce.php

示例11: get_header

<?php 
get_header();
?>

  <div class="x-container-fluid max width offset cf">
    <div class="<?php 
x_main_content_class();
?>
" role="main">

      <?php 
while (have_posts()) {
    the_post();
    ?>
        <?php 
    x_get_view('integrity', 'content', 'bbpress');
    ?>
      <?php 
}
?>

    </div>

    <?php 
get_sidebar();
?>

  </div>

<?php 
get_footer();
开发者ID:Cywaithaka,项目名称:WPAN,代码行数:31,代码来源:wp-bbpress.php

示例12: get_header

<?php 
get_header();
?>

  <div class="x-container max width offset">
    <div class="<?php 
x_main_content_class();
?>
" role="main">
<?php 
x_get_view('global', '_content', 'the-content');
?>

      <?php 
x_get_view('global', '_portfolio');
?>

    </div>

    <?php 
get_sidebar();
?>

  </div>

<?php 
get_footer();
?>

开发者ID:kevinotsuka,项目名称:datapop,代码行数:28,代码来源:template-layout-portfolio.php

示例13: while

    ?>

  <?php 
    if (have_posts()) {
        ?>
    <?php 
        while (have_posts()) {
            the_post();
            ?>
      <?php 
            x_get_view($stack, 'content', get_post_format());
            ?>
    <?php 
        }
        ?>
  <?php 
    } else {
        ?>
    <?php 
        x_get_view('global', '_content-none');
        ?>
  <?php 
    }
    ?>

<?php 
}
?>

<?php 
pagenavi();
开发者ID:ju4nr3v0l,项目名称:juandavidmarulanda.com,代码行数:31,代码来源:_index.php

示例14: x_get_view

<?php

// =============================================================================
// SIDEBAR.PHP
// -----------------------------------------------------------------------------
// Handles sidebar output for posts and pages.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's pages, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "wp-sidebar.php," where you'll be able to find
// the appropriate output.
// =============================================================================
?>

<?php 
x_get_view(x_get_stack(), 'wp', 'sidebar');
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:17,代码来源:sidebar.php

示例15: x_get_view

<?php

// =============================================================================
// FOOTER.PHP
// -----------------------------------------------------------------------------
// The site footer. Consists of the top footer area for widgets and the bottom
// footer area for secondary information. Includes wp_footer() hook as well.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's index, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "wp-footer.php," where you'll be able to find the
// appropriate output.
// =============================================================================
?>

<?php 
x_get_view(x_get_stack(), 'wp', 'footer');
开发者ID:skywindzz,项目名称:blue_leopard,代码行数:18,代码来源:footer.php


注:本文中的x_get_view函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。