Make WordPress Themes

Changeset 233140

Timestamp:
06/27/2024 01:15:15 PM (6 weeks ago)
Author:
automattic
Message:

Update to version 1.0.1 from GitHub

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  
    11<?php
    22/**
    3  * Title: A 404 page
     3 * Title:
    44 * Slug: cookbook/404
     5
    56 * Inserter: no
    67 */
     8
     9
    710
    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&rsquo;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>
    1218<!-- /wp:heading -->
    1319
    1420<!-- 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  
    11<?php
    22/**
    3  * Title: Default footer
     3 * Title: ooter
    44 * Slug: cookbook/footer
    5  * Categories: footer
    6  * Block Types: core/template-part/footer
     5 * Categories:
     6 *
    77 */
    88?>
     9
     10
     11
     12
     13
    914
    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"} /-->
    1316
    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>
    3319<!-- /wp:group -->
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
  • cookbook/1.0.1/patterns/header.php

    r231759 r233140  
    11<?php
    22/**
    3  * Title: header
     3 * Title: eader
    44 * Slug: cookbook/header
    55 * Categories: hidden
     
    2424
    2525<!-- 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>
    2727<!-- /wp:column --></div>
    2828<!-- /wp:columns -->
     
    3131<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%"} -->
    3232<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>
    3434<!-- /wp:heading --></div>
    3535<!-- /wp:column -->
     
    4040
    4141<!-- 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>
    4444<!-- /wp:paragraph --></div>
    4545<!-- /wp:column --></div>
     
    4747
    4848<!-- 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>
    5151<!-- /wp:image -->
    5252
    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>
    5555<!-- /wp:image -->
    5656
    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>
    5959<!-- /wp:image -->
    6060
    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>
    6363<!-- /wp:image --></div>
    6464<!-- /wp:group --></div>
  • cookbook/1.0.1/patterns/home.php

    r231759 r233140  
    4343<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"}}}} -->
    4444<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>
    4747<!-- /wp:image --></div>
    4848<!-- /wp:column -->
     
    5151<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"}} -->
    5252<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>
    5454<!-- /wp:heading -->
    5555
    5656<!-- 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>
    5858<!-- /wp:paragraph -->
    5959
    6060<!-- 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>
    6262<!-- /wp:paragraph --></div>
    6363<!-- /wp:group --></div>
  • cookbook/1.0.1/readme.txt

    r231759 r233140  
    22Contributors: Automattic
    33Requires at least: 6.0
    4 Tested up to: 6.5
     4Tested up to: 6.
    55Requires PHP: 5.7
    66License: GPLv2 or later
     
    3232MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    3333GNU General Public License for more details.
    34 
    3534
    3635This theme bundles the following third-party resources:
  • cookbook/1.0.1/style.css

    r231759 r233140  
    11/*
    22Theme Name: Cookbook
    3 Theme URI:
    4 Author: Automattic
    5 Author URI: https://wordpress.org/
     3Theme URI:
     4Author: Automattic
     5Author URI: https://
    66Description: 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.
    77Requires at least: 6.0
    8 Tested up to: 6.5
     8Tested up to: 6.
    99Requires PHP: 5.7
    10 Version: 1.0.0
     10Version: 1.0.
    1111License: GNU General Public License v2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313Text 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  */
     14Tags: 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*/
    2116
    2217/*
  • 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  
    9090        },
    9191        "typography": {
    92             "defaultFontSizes": false,
    9392            "fluid": true,
    9493            "fontFamilies": [
     
    612611        }
    613612    ],
    614     "version": 3,
     613    "version": ,
    615614    "$schema": "https://schemas.wp.org/trunk/theme.json"
    616615}
Note: See TracChangeset for help on using the changeset viewer.