Changeset 233140
- Timestamp:
- 06/27/2024 01:15:15 PM (6 weeks ago)
- Location:
- cookbook/1.0.1
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
cookbook/1.0.1/parts/footer.html
r231759 r233140 1 <!-- wp:group {"layout":{"type":"constrained"}} --> 2 <div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> 3 <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> 4 <div class="wp-block-group"><!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#111111","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|40"}}},"className":"is-style-logos-only"} --> 5 <ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"x"} /--> 6 7 <!-- wp:social-link {"url":"#","service":"youtube"} /--> 8 9 <!-- wp:social-link {"url":"#","service":"facebook"} /--></ul> 10 <!-- /wp:social-links --></div> 11 <!-- /wp:group --> 12 13 <!-- wp:paragraph {"align":"right","fontSize":"small"} --> 14 <p class="has-text-align-right has-small-font-size">Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a>.</p> 15 <!-- /wp:paragraph --></div> 16 <!-- /wp:group --></div> 17 <!-- /wp:group --> 1 <!-- wp:pattern {"slug":"cookbook/footer"} /--> -
cookbook/1.0.1/patterns/404.php
r231759 r233140 1 1 <?php 2 2 /** 3 * Title: A 404 page3 * Title: 4 4 * Slug: cookbook/404 5 5 6 * Inserter: no 6 7 */ 8 9 7 10 8 ?> 9 10 <!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} --> 11 <h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'cookbook' ); ?></h1> 11 <!-- wp:group {"layout":{"type":"constrained"}} --> 12 <div class="wp-block-group"><!-- wp:group {"tagName":"main","align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|70","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} --> 13 <main class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"0"}}}} --> 14 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"75%"} --> 15 <div class="wp-block-column" style="flex-basis:75%"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> 16 <div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":1} --> 17 <h1 class="wp-block-heading has-text-align-left" id="oops-that-page-can-t-be-found"><?php echo __('Oops! That page<br>can’t be found.', 'cookbook');?></h1> 12 18 <!-- /wp:heading --> 13 19 14 20 <!-- wp:paragraph --> 15 <p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'cookbook' ); ?></p> 16 <!-- /wp:paragraph --> 21 <p><?php echo __('It looks like nothing was found at this location. Maybe try a search?', 'cookbook');?></p> 22 <!-- /wp:paragraph --></div> 23 <!-- /wp:group --> 24 25 <!-- wp:search {"label":"","showLabel":false,"buttonUseIcon":true} /--></div> 26 <!-- /wp:column --> 27 28 <!-- wp:column {"width":"5%"} --> 29 <div class="wp-block-column" style="flex-basis:5%"></div> 30 <!-- /wp:column --> 31 32 <!-- wp:column {"width":"20%"} --> 33 <div class="wp-block-column" style="flex-basis:20%"></div> 34 <!-- /wp:column --></div> 35 <!-- /wp:columns --></main> 36 <!-- /wp:group --></div> 37 <!-- /wp:group --> 38 39 <!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> -
cookbook/1.0.1/patterns/footer.php
r231759 r233140 1 1 <?php 2 2 /** 3 * Title: Default footer3 * Title: ooter 4 4 * Slug: cookbook/footer 5 * Categories: footer6 * Block Types: core/template-part/footer5 * Categories: 6 * 7 7 */ 8 8 ?> 9 10 11 12 13 9 14 10 <!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} --> 11 <div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div> 12 <!-- /wp:spacer --> 15 <!-- wp:social-link {"url":"#","service":"youtube"} /--> 13 16 14 <!-- wp:group {"layout":{"type":"constrained"}} --> 15 <div class="wp-block-group"> 16 <!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} --> 17 <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"> 18 <!-- wp:paragraph {"align":"center"} --> 19 <p class="has-text-align-center"> 20 <?php 21 /* Translators: WordPress link. */ 22 $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'cookbook' ) ) . '" rel="nofollow">WordPress</a>'; 23 echo sprintf( 24 esc_html__( 'Designed with %1$s', 'cookbook' ), 25 $wordpress_link 26 ); 27 ?> 28 </p> 29 <!-- /wp:paragraph --> 30 </div> 31 <!-- /wp:group --> 32 </div> 17 <!-- wp:social-link {"url":"#","service":"facebook"} /--></ul> 18 <!-- /wp:social-links --></div> 33 19 <!-- /wp:group --> 20 21 22 23 24 25 26 27 28 29 30 31 32 -
cookbook/1.0.1/patterns/header.php
r231759 r233140 1 1 <?php 2 2 /** 3 * Title: header3 * Title: eader 4 4 * Slug: cookbook/header 5 5 * Categories: hidden … … 24 24 25 25 <!-- wp:column {"verticalAlignment":"center","width":"25%"} --> 26 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:navigation {" layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>26 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div> 27 27 <!-- /wp:column --></div> 28 28 <!-- /wp:columns --> … … 31 31 <div class="wp-block-columns alignwide are-vertically-aligned-center" style="margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--40)"><!-- wp:column {"verticalAlignment":"center","width":"50%"} --> 32 32 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"><!-- wp:heading {"level":1,"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base"} --> 33 <h1 class="wp-block-heading has-base-color has-text-color has-link-color"> In Pursuit of the Flavor</h1>33 <h1 class="wp-block-heading has-base-color has-text-color has-link-color"></h1> 34 34 <!-- /wp:heading --></div> 35 35 <!-- /wp:column --> … … 40 40 41 41 <!-- wp:column {"verticalAlignment":"center","width":"25%"} --> 42 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:paragraph {" style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","fontSize":"small"} -->43 <p class="has- contrast-color has-text-color has-link-color has-small-font-size">With this theme, you will always have ideas for mealtime. Be ready to learn, share, and delight the dear people around you. Shall we start?</p>42 <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:paragraph {"fontSize":"small"} --> 43 <p class="has-</p> 44 44 <!-- /wp:paragraph --></div> 45 45 <!-- /wp:column --></div> … … 47 47 48 48 <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|20","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> 49 <div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0"><!-- wp:image {" sizeSlug":"full","linkDestination":"none"} -->50 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-1.png" alt="" class=" "/></figure>49 <div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:0"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} --> 50 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-1.png" alt="" class=""/></figure> 51 51 <!-- /wp:image --> 52 52 53 <!-- wp:image {" sizeSlug":"full","linkDestination":"none"} -->54 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-2.png" alt="" class=" "/></figure>53 <!-- wp:image {"sizeSlug":"full","linkDestination":"none"} --> 54 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-2.png" alt="" class=""/></figure> 55 55 <!-- /wp:image --> 56 56 57 <!-- wp:image {" sizeSlug":"full","linkDestination":"none"} -->58 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-3.png" alt="" class=" "/></figure>57 <!-- wp:image {"sizeSlug":"full","linkDestination":"none"} --> 58 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-3.png" alt="" class=""/></figure> 59 59 <!-- /wp:image --> 60 60 61 <!-- wp:image {" sizeSlug":"full","linkDestination":"none"} -->62 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-4.png" alt="" class=" "/></figure>61 <!-- wp:image {"sizeSlug":"full","linkDestination":"none"} --> 62 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cookbook_img-4.png" alt="" class=""/></figure> 63 63 <!-- /wp:image --></div> 64 64 <!-- /wp:group --></div> -
cookbook/1.0.1/patterns/home.php
r231759 r233140 43 43 <div class="wp-block-group alignwide has-border-color" style="border-color:#ee5b2b;border-style:dotted;border-width:1px;border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"0"}}}} --> 44 44 <div class="wp-block-columns alignwide"><!-- wp:column --> 45 <div class="wp-block-column"><!-- wp:image {" aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->46 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/pexels-yaroslav-shuraev-8845419.jpg" alt="" class=" " style="aspect-ratio:1;object-fit:cover"/></figure>45 <div class="wp-block-column"><!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none"} --> 46 <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/pexels-yaroslav-shuraev-8845419.jpg" alt="" class="" style="aspect-ratio:1;object-fit:cover"/></figure> 47 47 <!-- /wp:image --></div> 48 48 <!-- /wp:column --> … … 51 51 <div class="wp-block-column"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|70"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} --> 52 52 <div class="wp-block-group" style="min-height:100%;padding-right:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><!-- wp:heading {"textAlign":"center","level":1} --> 53 <h1 class="wp-block-heading has-text-align-center"> The Chef</h1>53 <h1 class="wp-block-heading has-text-align-center"></h1> 54 54 <!-- /wp:heading --> 55 55 56 56 <!-- wp:paragraph {"align":"center"} --> 57 <p class="has-text-align-center"> Emma is a dedicated home chef who finds joy in cooking and sharing her favorite recipes with others. With a background in recipe development and food blogging, she enjoys exploring diverse cuisines and techniques to create mouthwatering dishes. Emma is eager to connect with fellow food lovers and create a community centered around delicious homemade meals.</p>57 <p class="has-text-align-center"></p> 58 58 <!-- /wp:paragraph --> 59 59 60 60 <!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"fontStyle":"normal","fontWeight":"600"}},"textColor":"secondary"} --> 61 <p class="has-text-align-center has-secondary-color has-text-color has-link-color" style="font-style:normal;font-weight:600"> About Emma Johnson</p>61 <p class="has-text-align-center has-secondary-color has-text-color has-link-color" style="font-style:normal;font-weight:600"></p> 62 62 <!-- /wp:paragraph --></div> 63 63 <!-- /wp:group --></div> -
cookbook/1.0.1/readme.txt
r231759 r233140 2 2 Contributors: Automattic 3 3 Requires at least: 6.0 4 Tested up to: 6. 54 Tested up to: 6. 5 5 Requires PHP: 5.7 6 6 License: GPLv2 or later … … 32 32 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 33 GNU General Public License for more details. 34 35 34 36 35 This theme bundles the following third-party resources: -
cookbook/1.0.1/style.css
r231759 r233140 1 1 /* 2 2 Theme Name: Cookbook 3 Theme URI: 4 Author: Automattic5 Author URI: https:// wordpress.org/3 Theme URI: 4 Author: Automattic 5 Author URI: https:// 6 6 Description: Cookbook is a versatile theme designed to cater to various content creators. It explores the Query Loop element in a very particular way, with zero spacings and block strokes. 7 7 Requires at least: 6.0 8 Tested up to: 6. 58 Tested up to: 6. 9 9 Requires PHP: 5.7 10 Version: 1.0. 010 Version: 1.0. 11 11 License: GNU General Public License v2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 13 13 Text Domain: cookbook 14 Tags: food-and-drink, two-columns, four-columns, wide-blocks, block-patterns, block-styles, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-site-editing, full-width-template, post-formats, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready 15 16 /* 17 * Control the hover stylings of outline block style. 18 * Unnecessary once block styles are configurable via theme.json 19 * https://github.com/WordPress/gutenberg/issues/42794 20 */ 14 Tags: food-and-drink, two-columns, four-columns, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-site-editing, full-width-template, post-formats, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready, cuisine, cooking, recipes, cookbook, query-loop, diverse-image-formats, image-formats, collection, recipe-book 15 */ 21 16 22 17 /* -
cookbook/1.0.1/templates/404.html
r231759 r233140 1 <!-- wp:template-part {"slug":"header-pages","area":"header"} /--> 2 3 <!-- wp:group {"layout":{"type":"constrained"}} --> 4 <div class="wp-block-group"><!-- wp:group {"tagName":"main","align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|70","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} --> 5 <main class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"0"}}}} --> 6 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"75%"} --> 7 <div class="wp-block-column" style="flex-basis:75%"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> 8 <div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":1} --> 9 <h1 class="wp-block-heading has-text-align-left" id="oops-that-page-can-t-be-found">Oops! That page<br>can’t be found.</h1> 10 <!-- /wp:heading --> 11 12 <!-- wp:paragraph --> 13 <p>It looks like nothing was found at this location. Maybe try a search?</p> 14 <!-- /wp:paragraph --></div> 15 <!-- /wp:group --> 16 17 <!-- wp:search {"label":"","showLabel":false,"buttonUseIcon":true} /--></div> 18 <!-- /wp:column --> 19 20 <!-- wp:column {"width":"5%"} --> 21 <div class="wp-block-column" style="flex-basis:5%"></div> 22 <!-- /wp:column --> 23 24 <!-- wp:column {"width":"20%"} --> 25 <div class="wp-block-column" style="flex-basis:20%"></div> 26 <!-- /wp:column --></div> 27 <!-- /wp:columns --></main> 28 <!-- /wp:group --></div> 29 <!-- /wp:group --> 30 31 <!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> 1 <!-- wp:pattern {"slug":"cookbook/404"} /--> -
cookbook/1.0.1/theme.json
r231759 r233140 90 90 }, 91 91 "typography": { 92 "defaultFontSizes": false,93 92 "fluid": true, 94 93 "fontFamilies": [ … … 612 611 } 613 612 ], 614 "version": 3,613 "version": , 615 614 "$schema": "https://schemas.wp.org/trunk/theme.json" 616 615 }
Note: See TracChangeset
for help on using the changeset viewer.