-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Theme rename: Farmhouse to Greenseed (#8099)
* renamed theme * replace screenshot * added main tag * license format
- Loading branch information
1 parent
2f35d14
commit 4c14a2f
Showing
43 changed files
with
72 additions
and
70 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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,60 +1,60 @@ | ||
<?php | ||
/** | ||
* Farmhouse functions and definitions | ||
* Greenseed functions and definitions | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package Farmhouse | ||
* @since Farmhouse 1.0 | ||
* @package Greenseed | ||
* @since Greenseed 1.0 | ||
*/ | ||
|
||
|
||
if ( ! function_exists( 'farmhouse_support' ) ) : | ||
if ( ! function_exists( 'greenseed_support' ) ) : | ||
|
||
/** | ||
* Sets up theme defaults and registers support for various WordPress features. | ||
* | ||
* @since Farmhouse 1.0 | ||
* @since Greenseed 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function farmhouse_support() { | ||
function greenseed_support() { | ||
|
||
// Enqueue editor styles. | ||
add_editor_style( 'style.css' ); | ||
|
||
// Make theme available for translation. | ||
load_theme_textdomain( 'farmhouse' ); | ||
load_theme_textdomain( 'greenseed' ); | ||
} | ||
|
||
endif; | ||
|
||
add_action( 'after_setup_theme', 'farmhouse_support' ); | ||
add_action( 'after_setup_theme', 'greenseed_support' ); | ||
|
||
if ( ! function_exists( 'farmhouse_styles' ) ) : | ||
if ( ! function_exists( 'greenseed_styles' ) ) : | ||
|
||
/** | ||
* Enqueue styles. | ||
* | ||
* @since Farmhouse 1.0 | ||
* @since Greenseed 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function farmhouse_styles() { | ||
function greenseed_styles() { | ||
|
||
// Register theme stylesheet. | ||
wp_register_style( | ||
'farmhouse-style', | ||
'greenseed-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
|
||
// Enqueue theme stylesheet. | ||
wp_enqueue_style( 'farmhouse-style' ); | ||
wp_enqueue_style( 'greenseed-style' ); | ||
|
||
} | ||
|
||
endif; | ||
|
||
add_action( 'wp_enqueue_scripts', 'farmhouse_styles' ); | ||
add_action( 'wp_enqueue_scripts', 'greenseed_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
File renamed without changes.
File renamed without changes.
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,16 +1,16 @@ | ||
<?php | ||
/** | ||
* Title: A 404 page | ||
* Slug: farmhouse/404 | ||
* Slug: greenseed/404 | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
|
||
<!-- 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.', 'farmhouse' ); ?></h1> | ||
<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.', 'greenseed' ); ?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'farmhouse' ); ?></p> | ||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'greenseed' ); ?></p> | ||
<!-- /wp:paragraph --> |
2 changes: 1 addition & 1 deletion
2
farmhouse/patterns/comments.php → greenseed/patterns/comments.php
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,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Title: Comments | ||
* slug: farmhouse/comments | ||
* slug: greenseed/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
4 changes: 2 additions & 2 deletions
4
...se/patterns/hidden-no-results-content.php → ...ed/patterns/hidden-no-results-content.php
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,10 +1,10 @@ | ||
<?php | ||
/** | ||
* Title: Hidden No Results Content | ||
* Slug: farmhouse/hidden-no-results-content | ||
* Slug: greenseed/hidden-no-results-content | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:paragraph --> | ||
<p><?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', 'farmhouse' ); ?></p> | ||
<p><?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', 'greenseed' ); ?></p> | ||
<!-- /wp:paragraph --> |
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
File renamed without changes.
File renamed without changes.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.