[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Title: Photo blog single post 4 * Slug: twentytwentyfive/template-single-photo-blog 5 * Template Types: posts, single 6 * Viewport width: 1400 7 * Inserter: no 8 * 9 * @package WordPress 10 * @subpackage Twenty_Twenty_Five 11 * @since Twenty Twenty-Five 1.0 12 */ 13 14 ?> 15 <!-- wp:template-part {"slug":"header"} /--> 16 17 <!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} --> 18 <main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60)"> 19 <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} --> 20 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"> 21 <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|60"}}}} --> 22 <div class="wp-block-columns alignwide"> 23 <!-- wp:column {"width":"60%"} --> 24 <div class="wp-block-column" style="flex-basis:60%"> 25 <!-- wp:post-title {"level":1} /--> 26 </div> 27 <!-- /wp:column --> 28 <!-- wp:column {"width":"40%"} --> 29 <div class="wp-block-column" style="flex-basis:40%"> 30 <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} --> 31 <div class="wp-block-group"> 32 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","orientation":"vertical"}} --> 33 <div class="wp-block-group"> 34 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","layout":{"type":"constrained"}} --> 35 <div class="wp-block-group has-small-font-size"> 36 <!-- wp:paragraph --><p><?php echo esc_html_x( 'Published on', 'Prefix before the post date block.', 'twentytwentyfive' ); ?></p><!-- /wp:paragraph --> 37 <!-- wp:post-date {"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} /--> 38 </div> 39 <!-- /wp:group --> 40 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","layout":{"type":"constrained"}} --> 41 <div class="wp-block-group has-small-font-size"> 42 <!-- wp:paragraph --><p><?php echo esc_html_x( 'Posted by', 'Prefix before the author name. The post author name is displayed in a separate block on the next line.', 'twentytwentyfive' ); ?></p><!-- /wp:paragraph --> 43 <!-- wp:post-author-name {"isLink":true} /--> 44 </div> 45 <!-- /wp:group --> 46 </div> 47 <!-- /wp:group --> 48 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","orientation":"vertical"}} --> 49 <div class="wp-block-group"> 50 <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} --> 51 <div class="wp-block-group"> 52 <!-- wp:paragraph {"fontSize":"small"} --> 53 <p class="has-small-font-size"><?php echo esc_html_x( 'Categories:', 'Prefix before one or more categories. The categories are displayed in a separate block on the next line.', 'twentytwentyfive' ); ?></p> 54 <!-- /wp:paragraph --> 55 <!-- wp:post-terms {"term":"category","style":{"typography":{"fontStyle":"normal","fontWeight":"300"}}} /--> 56 </div> 57 <!-- /wp:group --> 58 <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} --> 59 <div class="wp-block-group"> 60 <!-- wp:paragraph {"fontSize":"small"} --> 61 <p class="has-small-font-size"><?php echo esc_html_x( 'Tagged:', 'Prefix before one or more tags. The tags are displayed in a separate block on the next line.', 'twentytwentyfive' ); ?></p> 62 <!-- /wp:paragraph --> 63 <!-- wp:post-terms {"term":"post_tag","style":{"typography":{"fontStyle":"normal","fontWeight":"300"}}} /--> 64 </div> 65 <!-- /wp:group --> 66 </div> 67 <!-- /wp:group --> 68 </div> 69 <!-- /wp:group --> 70 </div> 71 <!-- /wp:column --> 72 </div> 73 <!-- /wp:columns --> 74 <!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|50","bottom":"0"}}},"layout":{"type":"default"}} --> 75 <div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:0"> 76 <!-- wp:group {"ariaLabel":"<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>","tagName":"nav","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> 77 <nav aria-label="<?php esc_attr_e( 'Post navigation', 'twentytwentyfive' ); ?>" class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"> 78 <!-- wp:post-navigation-link {"type":"previous","label":"<?php esc_html_e( 'Previous Photo', 'twentytwentyfive' ); ?>","fontSize":"small"} /--> 79 <!-- wp:post-navigation-link {"label":"<?php esc_html_e( 'Next Photo', 'twentytwentyfive' ); ?>","fontSize":"small"} /--> 80 </nav> 81 <!-- /wp:group --> 82 </div> 83 <!-- /wp:group --> 84 <!-- wp:post-featured-image {"aspectRatio":"auto","align":"wide"} /--> 85 </div> 86 <!-- /wp:group --> 87 88 <!-- wp:post-content {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} /--> 89 90 <!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left"}} --> 91 <div class="wp-block-group alignwide"> 92 <!-- wp:pattern {"slug":"twentytwentyfive/comments"} /--> 93 </div> 94 <!-- /wp:group --> 95 </main> 96 <!-- /wp:group --> 97 <!-- wp:template-part {"slug":"footer"} /-->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |