-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ea8721
commit 901bbbc
Showing
49 changed files
with
2,380 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?php | ||
/** | ||
* Streamer functions and definitions | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package Streamer | ||
* @since Streamer 1.0 | ||
*/ | ||
|
||
|
||
if ( ! function_exists( 'streamer_support' ) ) : | ||
|
||
/** | ||
* Sets up theme defaults and registers support for various WordPress features. | ||
* | ||
* @since Streamer 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function streamer_support() { | ||
|
||
// Enqueue editor styles. | ||
add_editor_style( 'style.css' ); | ||
|
||
// Make theme available for translation. | ||
load_theme_textdomain( 'streamer' ); | ||
} | ||
|
||
endif; | ||
|
||
add_action( 'after_setup_theme', 'streamer_support' ); | ||
|
||
if ( ! function_exists( 'streamer_styles' ) ) : | ||
|
||
/** | ||
* Enqueue styles. | ||
* | ||
* @since Streamer 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function streamer_styles() { | ||
|
||
// Register theme stylesheet. | ||
wp_register_style( | ||
'streamer-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
|
||
// Enqueue theme stylesheet. | ||
wp_enqueue_style( 'streamer-style' ); | ||
|
||
} | ||
|
||
endif; | ||
|
||
add_action( 'wp_enqueue_scripts', 'streamer_styles' ); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} --> | ||
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:group {"metadata":{"name":"Comments wrapper"},"layout":{"type":"constrained","justifyContent":"left"}} --> | ||
<div class="wp-block-group"><!-- wp:comments-title {"showCommentsCount":false} /--> | ||
|
||
<!-- wp:comment-template --> | ||
<!-- wp:group {"metadata":{"name":"Comment wrapper"},"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|70"},"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical"}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"metadata":{"name":"Author and date"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:comment-author-name /--> | ||
|
||
<!-- wp:comment-date {"isLink":false} /--></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:comment-content /--> | ||
|
||
<!-- wp:group {"metadata":{"name":"Links"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"typography":{"fontSize":"0.8rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group" style="font-size:0.8rem"><!-- wp:comment-reply-link /--> | ||
|
||
<!-- wp:comment-edit-link /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:comment-template --> | ||
|
||
<!-- wp:comments-pagination {"layout":{"type":"flex","justifyContent":"left"}} --> | ||
<!-- wp:comments-pagination-previous /--> | ||
|
||
<!-- wp:comments-pagination-numbers /--> | ||
|
||
<!-- wp:comments-pagination-next /--> | ||
<!-- /wp:comments-pagination --> | ||
|
||
<!-- wp:post-comments-form /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:comments --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"streamer/footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- wp:group {"metadata":{"name":"Header wrapper"},"style":{"position":{"type":""},"spacing":{"padding":{"top":"var:preset|spacing|50","right":"var:preset|spacing|60","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60"}},"border":{"bottom":{"color":"var:preset|color|background","width":"1px"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--background);border-bottom-width:1px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:columns {"verticalAlignment":"center","align":"full","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30"}}}} --> | ||
<div class="wp-block-columns alignfull are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"33.33%"} --> | ||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:33.33%"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:site-logo {"width":20,"shouldSyncIcon":false,"style":{"color":[]}} /--> | ||
|
||
<!-- wp:site-title {"level":0} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"center","width":"66.66%","style":{"spacing":{"padding":{"left":"0","right":"0"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-center" style="padding-right:0;padding-left:0;flex-basis:66.66%"><!-- wp:group {"metadata":{"name":"Nav and social"},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} --> | ||
<div class="wp-block-group"><!-- wp:navigation {"overlayMenu":"never","overlayBackgroundColor":"tertiary","overlayTextColor":"primary","style":{"spacing":{"margin":{"top":"0"}},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"space-between","orientation":"horizontal","flexWrap":"wrap"}} /--> | ||
|
||
<!-- wp:social-links {"iconColor":"tertiary","iconColorValue":"#d8fe01","size":"has-small-icon-size","className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"right"}} --> | ||
<ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"mastodon"} /--> | ||
|
||
<!-- wp:social-link {"url":"#","service":"twitch"} /--> | ||
|
||
<!-- wp:social-link {"url":"#","service":"bluesky"} /--></ul> | ||
<!-- /wp:social-links --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --></div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"streamer/post-meta"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
/** | ||
* Title: 404 | ||
* Slug: streamer/404 | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main","metadata":{"name":"Content"},"style":{"dimensions":{"minHeight":"50vh"},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} --> | ||
<main class="wp-block-group" style="min-height:50vh;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"verticalAlignment":"top","align":"full"} --> | ||
<div class="wp-block-columns alignfull are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top","width":"33.33%","layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:33.33%"><!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":1,"className":"wp-block-heading","style":{"elements":{"link":{"color":{"text":"var:preset|color|tertiary"}}}},"textColor":"tertiary","fontSize":"x-large"} --> | ||
<h1 class="wp-block-heading has-text-align-left has-tertiary-color has-text-color has-link-color has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php esc_html_e('404', 'streamer');?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:heading {"textAlign":"left","level":1,"className":"wp-block-heading","fontSize":"x-large"} --> | ||
<h1 class="wp-block-heading has-text-align-left has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php esc_html_e('Oops, there’s nothing found.', 'streamer');?></h1> | ||
<!-- /wp:heading --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|40"} --> | ||
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"top","width":"66.66%","style":{"spacing":{"padding":{"left":"0","right":"0"}}},"layout":{"type":"constrained","justifyContent":"left"}} --> | ||
<div class="wp-block-column is-vertically-aligned-top" style="padding-right:0;padding-left:0;flex-basis:66.66%"><!-- wp:group {"metadata":{"name":"Search"},"style":{"spacing":{"blockGap":"var:preset|spacing|60"}},"layout":{"type":"constrained","justifyContent":"left"}} --> | ||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group"><!-- wp:paragraph --> | ||
<p><?php esc_html_e('It looks like nothing was found at this location.', 'streamer');?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php esc_html_e('Maybe try a search?', 'streamer');?></p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:search {"label":"","showLabel":false,"width":50,"widthUnit":"%","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"0px"}}} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?php | ||
/** | ||
* Title: archive | ||
* Slug: streamer/archive | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:template-part {"slug":"header","tagName":"header","align":"full"} /--> | ||
|
||
<!-- wp:group {"tagName":"main","metadata":{"name":"Content"},"style":{"dimensions":{"minHeight":"50vh"},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} --> | ||
<main class="wp-block-group" style="min-height:50vh;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"verticalAlignment":"top","align":"full"} --> | ||
<div class="wp-block-columns alignfull are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top","width":"33.33%"} --> | ||
<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:33.33%"><!-- wp:query-title {"type":"archive","textAlign":"left","align":"full"} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"top","width":"66.66%","style":{"spacing":{"padding":{"left":"0","right":"0"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-top" style="padding-right:0;padding-left:0;flex-basis:66.66%"><!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true}} --> | ||
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} --> | ||
<!-- wp:group {"metadata":{"name":"Post wrapper"},"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"border":{"radius":"8px"},"spacing":{"blockGap":"var:preset|spacing|20"}},"backgroundColor":"background","textColor":"foreground","layout":{"type":"default"}} --> | ||
<div class="wp-block-group has-foreground-color has-background-background-color has-text-color has-background has-link-color" style="border-radius:8px"><!-- wp:group {"metadata":{"name":"Post Text"},"style":{"spacing":{"blockGap":"0","padding":{"right":"var:preset|spacing|40","top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|40"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"metadata":{"name":"Date and arrow"},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"center"}} --> | ||
<div class="wp-block-group"><!-- wp:post-date {"format":"M j, Y","style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground"} /--> | ||
|
||
<!-- wp:group {"metadata":{"name":"Arrow"},"style":{"layout":{"selfStretch":"fixed","flexSize":"24px"},"dimensions":{"minHeight":"24px"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}},"border":{"radius":"4px"}},"backgroundColor":"primary","textColor":"foreground","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} --> | ||
<div class="wp-block-group has-foreground-color has-primary-background-color has-text-color has-background has-link-color" style="border-radius:4px;min-height:24px"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1"}},"fontSize":"x-small"} --> | ||
<p class="has-x-small-font-size" style="line-height:1"><?php esc_html_e('↗', 'streamer');?></p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:post-title {"isLink":true,"className":"no-underline","fontSize":"medium"} /--></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:post-featured-image {"isLink":true,"style":{"layout":{"selfStretch":"fit","flexSize":null},"border":{"radius":{"bottomRight":"6px"}},"spacing":{"padding":{"left":"var:preset|spacing|40"}}}} /--></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|30"} --> | ||
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:query-pagination --> | ||
<!-- wp:query-pagination-previous /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --> | ||
|
||
<!-- wp:query-no-results --> | ||
<!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} --> | ||
<p><?php esc_html_e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'streamer');?></p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --></div> | ||
<!-- /wp:query --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> |
Oops, something went wrong.