[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Single Posts Sidebar
   4   * Slug: ipsum/hidden-single-sidebar
   5   * Template Types: single
   6   * Inserter: no
   7   * Description: A single post beside a classic sidebar with categories and recent posts, on the wide width.
   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"} /-->
  25  
  26  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Date and Categories', 'Name of the group holding the post date and categories', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  27  <div class="wp-block-group"><!-- wp:post-date {"isLink":true} /-->
  28  
  29  <!-- wp:paragraph {"metadata":{"name":"·"},"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} -->
  30  <p class="has-small-font-size" style="font-style:normal;font-weight:600"><?php esc_html_e( '·', 'ipsum' ); ?></p>
  31  <!-- /wp:paragraph -->
  32  
  33  <!-- wp:post-terms {"term":"category"} /--></div>
  34  <!-- /wp:group --></div>
  35  <!-- /wp:group -->
  36  
  37  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Post Content', 'Name of the group holding the post content', 'ipsum' ); ?>"},"layout":{"type":"constrained","justifyContent":"center"}} -->
  38  <div class="wp-block-group"><!-- wp:post-content {"layout":{"type":"constrained","justifyContent":"center"}} /-->
  39  
  40  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Tags and author', 'Name of the group holding the tags and author', 'ipsum' ); ?>"},"layout":{"type":"default"}} -->
  41  <div class="wp-block-group"><!-- wp:post-terms {"term":"post_tag","separator":"  ","prefix":"<?php esc_attr_e( 'Tags: ', 'ipsum' ); ?>","style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}}} /-->
  42  
  43  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Author Card', 'Name of the author card group', 'ipsum' ); ?>"},"style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  44  <div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Avatar and Author', 'Name of the group holding the author avatar and name', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"stretch","justifyContent":"left"}} -->
  45  <div class="wp-block-group"><!-- wp:avatar {"size":64} /-->
  46  
  47  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Written by Author Name', 'Name of the group holding the byline and author name', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"0","padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30"}},"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}}},"backgroundColor":"theme-5","layout":{"type":"flex","flexWrap":"nowrap"}} -->
  48  <div class="wp-block-group has-theme-5-background-color has-background" style="border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px;padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:paragraph {"metadata":{"name":"<?php echo esc_html_x( 'Written by', 'Name of the byline paragraph', 'ipsum' ); ?>"},"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small","fontFamily":"manrope"} -->
  49  <p class="has-manrope-font-family has-small-font-size" style="font-style:normal;font-weight:600"><?php esc_html_e( 'Written by&nbsp;', 'ipsum' ); ?></p>
  50  <!-- /wp:paragraph -->
  51  
  52  <!-- wp:post-author-name {"isLink":true} /--></div>
  53  <!-- /wp:group --></div>
  54  <!-- /wp:group --></div>
  55  <!-- /wp:group --></div>
  56  <!-- /wp:group -->
  57  
  58  <!-- wp:separator -->
  59  <hr class="wp-block-separator has-alpha-channel-opacity"/>
  60  <!-- /wp:separator -->
  61  
  62  <!-- wp:pattern {"slug":"ipsum/hidden-comments"} /--></div>
  63  <!-- /wp:group -->
  64  
  65  <!-- wp:separator -->
  66  <hr class="wp-block-separator has-alpha-channel-opacity"/>
  67  <!-- /wp:separator -->
  68  
  69  <!-- wp:pattern {"slug":"ipsum/hidden-keep-reading"} /--></div>
  70  <!-- /wp:column -->
  71  
  72  <!-- wp:column {"width":"33.33%"} -->
  73  <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:template-part {"slug":"sidebar","area":"uncategorized"} /--></div>
  74  <!-- /wp:column --></div>
  75  <!-- /wp:columns --></main>
  76  <!-- /wp:group -->
  77  
  78  <!-- wp:template-part {"slug":"footer-wide","area":"footer"} /-->
  79  
  80  <!-- wp:template-part {"slug":"search-bar","className":"sticky-bottom"} /-->


Generated : Thu Oct 22 08:20:34 2026 Cross-referenced by PHPXref