Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion freddie/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package freddie
* @since freddie 1.0
*/

declare( strict_types = 1 );

if ( ! function_exists( 'freddie_support' ) ) :

Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/404
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/archive
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/comments
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
* Categories: featured, footer
* Block Types: core/template-part/footer
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/front-page-alt.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/front-page-alt
* Categories: featured
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/front-page
* Categories: featured
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
* Categories: featured, header
* Block Types: core/template-part/header
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained","justifyContent":"left"}} -->
<div class="wp-block-group">
<!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px","right":"0px","left":"0px"}}}} /-->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/index
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/no-results-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/no-results-content
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:paragraph {"style":{"spacing":{"margin":{"bottom":"0px"}}}} -->
<p style="margin-bottom:0px"><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'freddie' ); ?></p>
<!-- /wp:paragraph -->
3 changes: 3 additions & 0 deletions freddie/patterns/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/page
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/search
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 3 additions & 0 deletions freddie/patterns/single.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Slug: freddie/single
* Inserter: no
*/

declare( strict_types = 1 );
?>

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/music-star-concert-singer-artist-musician-1253514-pxhere.com.jpg","hasParallax":true,"dimRatio":0,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"layout":{"type":"default"}} -->
Expand Down
3 changes: 2 additions & 1 deletion freddie/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Freddie ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.2.2
Tested up to: 6.4
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -35,5 +35,6 @@ This theme bundles the following third-party resources:

Included in theme screenshot and in a front page template.

Free Images : music, star, concert, artist, musician, performance art, stage, bassist, singing, 1978, guitarist, drummer, entertainment, celebrity, violinist, idol, rock and roll, entertainer, singer songwriter, string instrument, freddie mercury, bowed string instrument 4246x6300 - - 1253514 - Free stock photos - PxHere
CC0 Public Domain Image
https://pxhere.com/en/photo/1253514
Binary file modified freddie/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 10 additions & 11 deletions freddie/style.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
Theme Name: Freddie
Theme URI: https://wordpress.com/theme/freddie
Theme URI: https://wordpress.com/theme/freddie/
Author: Automattic
Author URI: https://automattic.com/
Description: Freddie is a theme using a full-screen background image to captivate the viewer with a brief, immersive moment.
Requires at least: 6.0
Tested up to: 6.2.2
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freddie
Tags: blog, portfolio, one-column, two-columns, wide-blocks, block-patterns, block-styles, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, threaded-comments, translation-ready, custom-background, custom-colors, custom-logo, custom-menu, theme-options, news
Tags: one-column, wide-blocks, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, style-variations, threaded-comments, translation-ready
*/

/*
Expand All @@ -20,8 +20,8 @@ Tags: blog, portfolio, one-column, two-columns, wide-blocks, block-patterns, blo
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline >.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--primary);
border-color: var(--wp--preset--color--primary);
background-color: var(--wp--preset--color--contrast);
border-color: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--base);
}

Expand All @@ -35,13 +35,12 @@ a {
}

/*
* Avatar Block
* Fix border radius setting for the avatar block
* https://github.com/WordPress/gutenberg/issues/48253
* Navigation Block
* Reset the padding from List block
* https://github.com/WordPress/gutenberg/issues/50486
*/
.wp-block-avatar a,
.wp-block-avatar img {
border-radius: inherit;
.wp-block-navigation ul {
padding: unset;
}

/*
Expand Down
5 changes: 0 additions & 5 deletions freddie/styles/snow.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
"color": "#000000",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#000000",
"name": "Primary",
"slug": "primary"
}
]
}
Expand Down
Loading