[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/ipsum/patterns/ -> hidden-page-sidebar.php (source)

   1  <?php
   2  /**
   3   * Title: Pages Sidebar
   4   * Slug: ipsum/hidden-page-sidebar
   5   * Template Types: page
   6   * Inserter: no
   7   * Description: The Pages Sidebar template. It has the featured image, title and content beside the Sidebar part on the wide width, between the header and the wide footer, with the search bar pinned to the bottom.
   8   *
   9   * @package Ipsum
  10   * @since Ipsum 1.0
  11   */
  12  
  13  ?>
  14  <!-- wp:template-part {"slug":"header"} /-->
  15  
  16  <!-- wp:group {"tagName":"main","metadata":{"name":"<?php echo esc_html_x( 'Body', 'Name of the main content area group', 'ipsum' ); ?>"},"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
  17  <main class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|70"}}}} -->
  18  <div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%","layout":{"type":"constrained","justifyContent":"left"}} -->
  19  <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Featured Image Wrapper', 'Name of the group wrapping the featured image', 'ipsum' ); ?>"},"align":"full","layout":{"type":"default"}} -->
  20  <div class="wp-block-group alignfull"><!-- wp:post-featured-image {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|30"}}}} /--></div>
  21  <!-- /wp:group -->
  22  
  23  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Post Title', 'Name of the group holding the post title', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
  24  <div class="wp-block-group"><!-- wp:post-title {"level":1,"fontSize":"2-x-large"} /--></div>
  25  <!-- /wp:group -->
  26  
  27  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Post Content', 'Name of the group holding the post content', 'ipsum' ); ?>"},"layout":{"type":"constrained"}} -->
  28  <div class="wp-block-group"><!-- wp:post-content {"layout":{"type":"default"}} /--></div>
  29  <!-- /wp:group --></div>
  30  <!-- /wp:column -->
  31  
  32  <!-- wp:column {"width":"33.33%"} -->
  33  <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:template-part {"slug":"sidebar","tagName":"aside"} /--></div>
  34  <!-- /wp:column --></div>
  35  <!-- /wp:columns --></main>
  36  <!-- /wp:group -->
  37  
  38  <!-- wp:template-part {"slug":"footer-wide"} /-->
  39  
  40  <!-- wp:template-part {"slug":"search-bar","className":"is-style-sticky-bottom"} /-->


Generated : Wed Nov 11 08:20:02 2026 Cross-referenced by PHPXref