-
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.
The Jazzers: fixes readme.txt and details (#8100)
* The Jazzers: fixes readme.txt and details * The Jazzers: updates version number
- Loading branch information
1 parent
ea39cdb
commit 2f35d14
Showing
20 changed files
with
470 additions
and
225 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,61 +1,61 @@ | ||
<?php declare( strict_types = 1 ); ?> | ||
<?php | ||
/** | ||
* Jazzers functions and definitions | ||
* The Jazzers functions and definitions | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package Jazzers | ||
* @since Jazzers 1.0 | ||
* @package The Jazzers | ||
* @since The Jazzers 1.0 | ||
*/ | ||
|
||
|
||
if ( ! function_exists( 'jazzers_support' ) ) : | ||
if ( ! function_exists( 'the_jazzers_support' ) ) : | ||
|
||
/** | ||
* Sets up theme defaults and registers support for various WordPress features. | ||
* | ||
* @since Jazzers 1.0 | ||
* @since The Jazzers 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function jazzers_support() { | ||
function the_jazzers_support() { | ||
|
||
// Enqueue editor styles. | ||
add_editor_style( 'style.css' ); | ||
|
||
// Make theme available for translation. | ||
load_theme_textdomain( 'jazzers' ); | ||
load_theme_textdomain( 'the-jazzers' ); | ||
} | ||
|
||
endif; | ||
|
||
add_action( 'after_setup_theme', 'jazzers_support' ); | ||
add_action( 'after_setup_theme', 'the_jazzers_support' ); | ||
|
||
if ( ! function_exists( 'jazzers_styles' ) ) : | ||
if ( ! function_exists( 'the_jazzers_styles' ) ) : | ||
|
||
/** | ||
* Enqueue styles. | ||
* | ||
* @since Jazzers 1.0 | ||
* @since The Jazzers 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function jazzers_styles() { | ||
function the_jazzers_styles() { | ||
|
||
// Register theme stylesheet. | ||
wp_register_style( | ||
'jazzers-style', | ||
'the-jazzers-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
|
||
// Enqueue theme stylesheet. | ||
wp_enqueue_style( 'jazzers-style' ); | ||
wp_enqueue_style( 'the-jazzers-style' ); | ||
|
||
} | ||
|
||
endif; | ||
|
||
add_action( 'wp_enqueue_scripts', 'jazzers_styles' ); | ||
add_action( 'wp_enqueue_scripts', 'the_jazzers_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 |
---|---|---|
@@ -1,17 +1,25 @@ | ||
<?php declare( strict_types = 1 ); ?> | ||
<?php | ||
/** | ||
* Title: A 404 page | ||
* Slug: jazzers/404 | ||
* Title: 404 | ||
* Slug: the-jazzers/404 | ||
* Categories: hidden | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} --> | ||
<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.', 'jazzers' ); ?></h1> | ||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"7.5vh","bottom":"15vh"},"margin":{"top":"0rem","bottom":"0rem"}}},"layout":{"type":"constrained"}} --> | ||
<main class="wp-block-group" style="margin-top:0rem;margin-bottom:0rem;padding-top:7.5vh;padding-bottom:15vh"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"5vh"}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"center","level":1,"align":"wide","style":{"typography":{"lineHeight":"1"}}} --> | ||
<h1 class="wp-block-heading alignwide has-text-align-center" id="oops-that-page-can-t-be-found" style="line-height:1"><?php esc_html_e('Oops! The page can’t be found.', 'the-jazzers');?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'jazzers' ); ?></p> | ||
<!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center"><?php esc_html_e('It looks like nothing was found at this location. Maybe try a search?', 'the-jazzers');?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:search {"label":"","showLabel":false,"placeholder":"Search","buttonUseIcon":true,"style":{"border":{"radius":"2px","width":"0px","style":"none"}}} /--></div> | ||
<!-- /wp:group --></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,47 @@ | ||
<?php | ||
/** | ||
* Title: archive | ||
* Slug: the-jazzers/archive | ||
* Categories: hidden | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"spacing":{"padding":{"top":"10vh","bottom":"10vh"}}},"backgroundColor":"primary","textColor":"secondary","layout":{"type":"constrained"}} --> | ||
<main class="wp-block-group has-secondary-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:10vh;padding-bottom:10vh"><!-- wp:query {"queryId":9,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","align":"wide","layout":{"type":"constrained"}} --> | ||
<main class="wp-block-query alignwide"><!-- wp:query-title {"type":"archive"} /--> | ||
|
||
<!-- wp:post-template {"style":{"spacing":{"blockGap":"15vh"}},"layout":{"type":"constrained"}} --> | ||
<!-- wp:post-featured-image {"isLink":true} /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"blockGap":"2.5vh","margin":{"top":"2.5vh","bottom":"5vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group" style="margin-top:2.5vh;margin-bottom:5vh"><!-- wp:post-title {"isLink":true} /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"blockGap":"1.5rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} --> | ||
<div class="wp-block-group"><!-- wp:post-excerpt {"moreText":"read more","showMoreOnNewLine":false} /--> | ||
|
||
<!-- wp:template-part {"slug":"post-meta"} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --> | ||
|
||
<!-- wp:group {"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} --> | ||
<!-- wp:query-pagination-previous {"label":"Prev"} /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next {"label":"Next"} /--> | ||
<!-- /wp:query-pagination --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:query-no-results --> | ||
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results."} --> | ||
<p class="has-text-align-center"><?php esc_html_e('', 'the-jazzers');?></p> | ||
<!-- /wp:paragraph --> | ||
<!-- /wp:query-no-results --></main> | ||
<!-- /wp:query --></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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?php | ||
/** | ||
* Title: Comments | ||
* slug: jazzers/comments | ||
* slug: the-jazzers/comments | ||
* inserter: no | ||
*/ | ||
|
||
|
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
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
Oops, something went wrong.