Skip to content
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 .github/scripts/create-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ previous_tag=$(git describe --tags --abbrev=0 $(git rev-list --tags --max-count=
# Generate the release notes content
echo "**CHANGELOG:**" >.github/.release-notes
echo "" >>.github/.release-notes
echo "- https://github.com/somoscuatro/sc-starter-theme/compare/${previous_tag}...${new_version}" >>.github/.release-notes
echo "- https://github.com/somoscuatro/tetra-starter-wordpress-theme/compare/${previous_tag}...${new_version}" >>.github/.release-notes
2 changes: 1 addition & 1 deletion .vscode/npc.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"/**",
" * Contains Somoscuatro\\Starter_Theme\\\\$1${TM_FILENAME_BASE/(class-)?([^.-]+)|(-)/${2:/capitalize}/g}.",
" *",
" * @package sc-starter-theme",
" * @package tetra-starter-wordpress-theme",
" */",
"",
"declare(strict_types=1);",
Expand Down
483 changes: 244 additions & 239 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/styles/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-style: normal;
font-weight: 300 700;
font-display: swap;
src: url(/wp-content/themes/sc-starter-theme/dist/fonts/jost.woff2)
src: url(/wp-content/themes/tetra-starter-wordpress-theme/dist/fonts/jost.woff2)
format("woff2");
}
}
Expand All @@ -15,7 +15,7 @@
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url(/wp-content/themes/sc-starter-theme/dist/fonts/syne.woff2)
src: url(/wp-content/themes/tetra-starter-wordpress-theme/dist/fonts/syne.woff2)
format("woff2");
}
}
2 changes: 1 addition & 1 deletion autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Setup PHP Class Autoload.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "somoscuatro/sc-starter-theme",
"name": "somoscuatro/tetra-starter-wordpress-theme",
"description": "A custom starter theme for WordPress projects.",
"version": "1.6.0",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Initialize Theme.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* The Index Template File.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
4 changes: 2 additions & 2 deletions languages/ca.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: sc-starter-theme\n"
"Project-Id-Version: tetra-starter-wordpress-theme\n"
"POT-Creation-Date: 2024-04-04 13:04+0200\n"
"PO-Revision-Date: 2024-04-04 13:05+0200\n"
"Last-Translator: somoscuatro <tech@somoscuatro.es>\n"
Expand Down Expand Up @@ -73,7 +73,7 @@ msgid ""
"Starter Theme."
msgstr ""
"El plugin %s no està instal·lat. Si us plau, instal·leu el plugin per "
"utilitzar el Somoscuatro Starter Theme."
"utilitzar el TetraStarter WordPress Theme."

#: src/class-timber.php:62
msgid "Starter Theme by"
Expand Down
4 changes: 2 additions & 2 deletions languages/es_ES.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: sc-starter-theme\n"
"Project-Id-Version: tetra-starter-wordpress-theme\n"
"POT-Creation-Date: 2024-04-04 13:04+0200\n"
"PO-Revision-Date: 2024-04-04 13:04+0200\n"
"Last-Translator: somoscuatro <tech@somoscuatro.es>\n"
Expand Down Expand Up @@ -73,7 +73,7 @@ msgid ""
"Starter Theme."
msgstr ""
"El plugin %s no está instalado. Por favor, instale el plugin para utilizar "
"Somoscuatro Starter Theme."
"TetraStarter WordPress Theme."

#: src/class-timber.php:62
msgid "Starter Theme by"
Expand Down
4 changes: 2 additions & 2 deletions languages/it_IT.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: sc-starter-theme\n"
"Project-Id-Version: tetra-starter-wordpress-theme\n"
"POT-Creation-Date: 2024-04-04 13:04+0200\n"
"PO-Revision-Date: 2024-04-04 13:05+0200\n"
"Last-Translator: somoscuatro <tech@somoscuatro.es>\n"
Expand Down Expand Up @@ -73,7 +73,7 @@ msgid ""
"Starter Theme."
msgstr ""
"Il plugin %s non è installato. Installare il plugin per utilizzare "
"Somoscuatro Starter Theme."
"TetraStarter WordPress Theme."

#: src/class-timber.php:62
msgid "Starter Theme by"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: sc-starter-theme\n"
"Project-Id-Version: tetra-starter-wordpress-theme\n"
"POT-Creation-Date: 2024-04-04 13:04+0200\n"
"PO-Revision-Date: 2015-06-19 15:29+0100\n"
"Last-Translator: \n"
Expand Down Expand Up @@ -66,7 +66,7 @@ msgstr ""

#: src/class-theme.php:79
#, php-format
msgid "%s plugin is not installed. Please install the plugin to use the Somoscuatro Starter Theme."
msgid "%s plugin is not installed. Please install the plugin to use the TetraStarter WordPress Theme."
msgstr ""

#: src/class-timber.php:62
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@somoscuatro/sc-starter-theme",
"name": "@somoscuatro/tetra-starter-wordpress-theme",
"description": "A custom starter theme for WordPress projects.",
"version": "1.6.0",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/attributes/class-action.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Attributes\Action Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

namespace Somoscuatro\Starter_Theme\Attributes;
Expand Down
2 changes: 1 addition & 1 deletion src/attributes/class-filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Attributes\Filter Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

namespace Somoscuatro\Starter_Theme\Attributes;
Expand Down
2 changes: 1 addition & 1 deletion src/attributes/class-hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Attributes\Hook Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

namespace Somoscuatro\Starter_Theme\Attributes;
Expand Down
2 changes: 1 addition & 1 deletion src/attributes/hooked-classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* List of Classes to Be Hooked.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

use Somoscuatro\Starter_Theme\ACF;
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/class-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Blocks\Block Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/class-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Blocks\Loader Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
12 changes: 6 additions & 6 deletions src/blocks/sample/class-sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\BLocks\Sample\Sample Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down Expand Up @@ -31,33 +31,33 @@ class Sample extends Block {
public function get_acf_fields(): array {
return array(
'key' => 'group_' . static::$acf_block_prefix,
'title' => __( 'Block: Sample', 'sc-starter-theme' ),
'title' => __( 'Block: Sample', 'tetra-starter-wordpress-theme' ),
'fields' => array(
array(
'key' => 'field_' . self::$acf_block_prefix . '_image',
'label' => __( 'Image', 'sc-starter-theme' ),
'label' => __( 'Image', 'tetra-starter-wordpress-theme' ),
'name' => self::$acf_block_prefix . '_image',
'type' => 'image',
),
array(
'key' => 'field_' . static::$acf_block_prefix . '_heading',
'label' => __( 'Heading', 'sc-starter-theme' ),
'label' => __( 'Heading', 'tetra-starter-wordpress-theme' ),
'name' => static::$acf_block_prefix . '_heading',
'type' => 'text',
'required' => 1,
'return_format' => 'string',
),
array(
'key' => 'field_' . static::$acf_block_prefix . '_text',
'label' => __( 'Text', 'sc-starter-theme' ),
'label' => __( 'Text', 'tetra-starter-wordpress-theme' ),
'name' => static::$acf_block_prefix . '_text',
'type' => 'wysiwyg',
'required' => 1,
'return_format' => 'string',
),
array(
'key' => 'field_' . static::$acf_block_prefix . '_button',
'label' => __( 'Button', 'sc-starter-theme' ),
'label' => __( 'Button', 'tetra-starter-wordpress-theme' ),
'name' => static::$acf_block_prefix . '_button',
'type' => 'link',
'required' => 1,
Expand Down
2 changes: 1 addition & 1 deletion src/class-acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\ACF Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
2 changes: 1 addition & 1 deletion src/class-asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Asset Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
6 changes: 3 additions & 3 deletions src/class-customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Customizer Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand All @@ -27,7 +27,7 @@ public function add_customizer_gtm_controls( \WP_Customize_Manager $wp_customize
$wp_customize->add_section(
'gtm',
array(
'title' => __( 'Google Tag Manager', 'sc-starter-theme' ),
'title' => __( 'Google Tag Manager', 'tetra-starter-wordpress-theme' ),
'priority' => 35,
'capability' => 'edit_theme_options',
)
Expand All @@ -45,7 +45,7 @@ public function add_customizer_gtm_controls( \WP_Customize_Manager $wp_customize
$wp_customize,
'gtm_id',
array(
'label' => __( 'GTM ID', 'sc-starter-theme' ),
'label' => __( 'GTM ID', 'tetra-starter-wordpress-theme' ),
'section' => 'gtm',
'settings' => 'gtm_id',
'type' => 'text',
Expand Down
2 changes: 1 addition & 1 deletion src/class-gtm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\GTM Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
4 changes: 2 additions & 2 deletions src/class-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Gutenberg Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down Expand Up @@ -31,7 +31,7 @@ public function add_custom_block_category( array $block_categories ): array {
array(
array(
'slug' => 'somoscuatro',
'title' => esc_html__( 'Somoscuatro Custom Blocks', 'sc-starter-theme' ),
'title' => esc_html__( 'Somoscuatro Custom Blocks', 'tetra-starter-wordpress-theme' ),
),
)
);
Expand Down
2 changes: 1 addition & 1 deletion src/class-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Media Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
8 changes: 4 additions & 4 deletions src/class-navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Navigation Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand All @@ -21,8 +21,8 @@ class Navigation {
*/
#[Action( 'after_setup_theme' )]
public function register_nav_menus() {
register_nav_menu( 'site_header_primary', __( 'Site Header Primary', 'sc-starter-theme' ) );
register_nav_menu( 'site_footer_primary', __( 'Site Footer Primary', 'sc-starter-theme' ) );
register_nav_menu( 'site_footer_legals', __( 'Site Footer Legals', 'sc-starter-theme' ) );
register_nav_menu( 'site_header_primary', __( 'Site Header Primary', 'tetra-starter-wordpress-theme' ) );
register_nav_menu( 'site_footer_primary', __( 'Site Footer Primary', 'tetra-starter-wordpress-theme' ) );
register_nav_menu( 'site_footer_legals', __( 'Site Footer Legals', 'tetra-starter-wordpress-theme' ) );
}
}
2 changes: 1 addition & 1 deletion src/class-performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Performance Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down
4 changes: 2 additions & 2 deletions src/class-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Theme Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down Expand Up @@ -87,7 +87,7 @@ public function display_missing_plugins_warning(): void {
echo wp_kses_post(
sprintf(
/* translators: %s plugin name and link to plugin vendor page. */
__( '%s plugin is not installed. Please install the plugin to use the Somoscuatro Starter Theme.', 'sc-starter-theme' ),
__( '%s plugin is not installed. Please install the plugin to use the TetraStarter WordPress Theme.', 'tetra-starter-wordpress-theme' ),
'<a href="https://www.advancedcustomfields.com/" target="_blank">Advanced Custom Fields (ACF)</a>'
)
);
Expand Down
4 changes: 2 additions & 2 deletions src/class-timber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Contains Somoscuatro\Starter_Theme\Timber Class.
*
* @package sc-starter-theme
* @package tetra-starter-wordpress-theme
*/

declare(strict_types=1);
Expand Down Expand Up @@ -59,7 +59,7 @@ public function add_to_global_context( array $context ): array {
$context['copyright_text'] = sprintf(
'&copy;%s %s %s',
gmdate( 'Y' ),
__( 'Starter Theme by', 'sc-starter-theme' ),
__( 'Starter Theme by', 'tetra-starter-wordpress-theme' ),
'<a class="underline" href="https://somoscuatro.es">somoscuatro</a>'
);

Expand Down
Loading