Skip to content

Commit 0a2a701

Browse files
committed
Fixes
1 parent da063a6 commit 0a2a701

File tree

11 files changed

+260
-186
lines changed

11 files changed

+260
-186
lines changed

404.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<div class="container">
66
<div class="l-not-found__inner">
77
<div class="l-not-found__content">
8-
<?php echo base_get_inline_svg_asset('404.svg'); ?>
98
<h1 class="l-not-found__title"><?php esc_html_e('Error 404, we couldn\'t find the page', 'base'); ?></h1>
109
<?php
1110
wp_nav_menu([

README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
11
<p>
22
<a href="https://github.com/conedevelopment/base-starter-theme">
33
<br>
4-
<img src="./.github/base-logo-dark.svg" alt="Base" width="226" height="40">
4+
<img src="./.github/base-logo-dark.svg" alt="Base" width="136" height="25">
55
<br>
66
</a>
77
</p>
88

9-
WordPress theme for Base.
9+
**Base** is a WordPress starter theme built with our proven methodology for developing custom WordPress themes. It leverages **Advanced Custom Fields PRO (ACF PRO)** for flexible content management and rapid development.
10+
1011

1112
## Required WordPress plugins
1213

1314
- Advanced Custom Field PRO
1415

15-
## Preferred WordPress plugins
16+
## 🔧 Required Plugins
17+
Ensure the following plugin is installed and activated:
18+
- **Advanced Custom Fields PRO**
1619

17-
- Breadcrumb NavXT
18-
- Classic Editor
19-
- Contact Form 7
20-
- Modern Image Formats
21-
- Safe SVG
22-
- The SEO Framework
20+
## 🌟 Recommended Plugins
21+
For an enhanced development experience, we recommend the following plugins:
22+
- [**Breadcrumb NavXT**](https://wordpress.org/plugins/breadcrumb-navxt/) – Manage breadcrumbs easily
23+
- [**Classic Editor**](https://wordpress.org/plugins/classic-editor/) – Revert to the classic WordPress editor
24+
- [**Contact Form 7**](https://wordpress.org/plugins/contact-form-7/) – Simple, customizable contact forms
25+
- [**Modern Image Formats**](https://wordpress.org/plugins/modern-image-formats/) – Enable next-gen image formats (e.g., WebP)
26+
- [**Safe SVG**](https://wordpress.org/plugins/safe-svg/) – Secure SVG uploads
27+
- [**The SEO Framework**](https://wordpress.org/plugins/autodescription/) – Lightweight and reliable SEO solution
2328

24-
## Preferred Settings
2529

26-
### The SEO Framework
30+
## ⚙️ Preferred Settings
2731

28-
- Settings -> Title Settings -> Prefixes -> Check the "Remove term type prefixes from generated archive titles?"
32+
### The SEO Framework Configuration
33+
- Navigate to **Settings → Title Settings → Prefixes**
34+
- Enable: **"Remove term type prefixes from generated archive titles"**
2935

3036
## Image Sizes
3137

assets/css/login.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.login .wp-login-logo a {
22
background-image: url("../img/base-logo.svg");
3-
background-size: 193px 52px;
4-
height: 52px;
5-
width: 193px;
3+
background-size: cover;
4+
block-size: 1.5rem;
5+
inline-size: 7rem;
66
}

assets/img/404.svg

Lines changed: 0 additions & 50 deletions
This file was deleted.

assets/scss/login.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.login {
22
.wp-login-logo a {
33
background-image: url('../img/base-logo.svg');
4-
background-size: 193px 52px;
5-
height: 52px;
6-
width: 193px;
4+
background-size: cover;
5+
block-size: 1.5rem;
6+
inline-size: 7rem;
77
}
88
}

languages/base.pot

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
# Copyright (C) 2020 Automattic
2+
# This file is distributed under the GNU General Public License v2 or later.
3+
#, fuzzy
4+
msgid ""
5+
msgstr ""
6+
"Project-Id-Version: Base Starter Theme 1.0.0\n"
7+
"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/_s\n"
8+
"POT-Creation-Date: 2025-02-01 21:46+0100\n"
9+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11+
"Language-Team: Cone <[email protected]>\n"
12+
"MIME-Version: 1.0\n"
13+
"Content-Type: text/plain; charset=UTF-8\n"
14+
"Content-Transfer-Encoding: 8bit\n"
15+
"X-Generator: Poedit 3.5\n"
16+
"X-Domain: _s\n"
17+
"X-Poedit-KeywordsList: __;_e;esc_html_e\n"
18+
"X-Poedit-Basepath: ..\n"
19+
"X-Poedit-SearchPath-0: .\n"
20+
"X-Poedit-SearchPathExcluded-0: node_modules\n"
21+
"X-Poedit-SearchPathExcluded-1: assets\n"
22+
"X-Poedit-SearchPathExcluded-2: acf-json\n"
23+
24+
#: 404.php:8
25+
msgid "404-es hiba, nem találjuk az URL-t"
26+
msgstr ""
27+
28+
#: 404.php:19
29+
msgid "Vissza a kezdőlapra"
30+
msgstr ""
31+
32+
#: archive-tool.php:35 archive.php:32 author.php:42 home.php:40 taxonomy.php:34
33+
msgid "Előző"
34+
msgstr ""
35+
36+
#: archive-tool.php:36 archive.php:33 author.php:43 home.php:41 taxonomy.php:35
37+
msgid "Következő"
38+
msgstr ""
39+
40+
#: author.php:25
41+
msgid "Bejegyzések"
42+
msgstr ""
43+
44+
#: author.php:54
45+
msgid "Nem találtunk bejegyzés ehhez a szerzőhöz."
46+
msgstr ""
47+
48+
#: header.php:13
49+
msgid "Ugrás a tartalomra"
50+
msgstr ""
51+
52+
#: header.php:23
53+
msgid "Main"
54+
msgstr ""
55+
56+
#: header.php:50
57+
msgid "Navigáció nyitása/zárása"
58+
msgstr ""
59+
60+
#: inc/template-tags.php:24
61+
msgid "Közzétéve:"
62+
msgstr ""
63+
64+
#: inc/template-tags.php:28
65+
msgid "Utoljára frissítve:"
66+
msgstr ""
67+
68+
#: inc/template-tags.php:85
69+
msgid "Összes"
70+
msgstr ""
71+
72+
#: single-tool.php:29
73+
msgid "megtekintése"
74+
msgstr ""
75+
76+
#: single-tool.php:35
77+
msgid "Blog bejegyzés megtekintése"
78+
msgstr ""
79+
80+
#: single-tool.php:51
81+
msgid "Típus"
82+
msgstr ""
83+
84+
#: single-tool.php:64
85+
msgid "Kategóriák"
86+
msgstr ""
87+
88+
#: single-tool.php:79
89+
msgid "Szerző"
90+
msgstr ""
91+
92+
#: single-tool.php:91
93+
msgid "Közzétéve"
94+
msgstr ""
95+
96+
#: single-tool.php:101
97+
msgid "Hasonló bejegyzések"
98+
msgstr ""
99+
100+
#: single.php:43
101+
msgid "További bejegyzések"
102+
msgstr ""
103+
104+
#: single.php:45
105+
msgid "Összes bejegyzés"
106+
msgstr ""
107+
108+
#: src/Modules/Assets.php:59
109+
msgid "Összes elfogadása"
110+
msgstr ""
111+
112+
#: src/Modules/Assets.php:60
113+
msgid "Testreszabás"
114+
msgstr ""
115+
116+
#: src/Modules/Assets.php:61
117+
msgid "Elutasítás"
118+
msgstr ""
119+
120+
#: src/Modules/Assets.php:62
121+
msgid "Kijelöltek elfogadása"
122+
msgstr ""
123+
124+
#: src/Modules/Shortcodes.php:18
125+
msgid "A YouTube videó beágyazás megtekintéséhez el kell fogadnod a kapcsolódó sütiket."
126+
msgstr ""
127+
128+
#: src/Modules/Shortcodes.php:19
129+
msgid "YouTube sütik elutasítása"
130+
msgstr ""
131+
132+
#: src/Modules/Shortcodes.php:20
133+
msgid "YouTube sütik elfogadása"
134+
msgstr ""
135+
136+
#: src/Modules/Tinymce.php:24
137+
msgid "Bevezető méret"
138+
msgstr ""
139+
140+
#: src/Modules/Tinymce.php:30
141+
msgid "Felsorolás lista"
142+
msgstr ""
143+
144+
#: src/Theme.php:105
145+
msgid "Link másolása"
146+
msgstr ""
147+
148+
#: src/Theme.php:109
149+
msgid "Link másolva"
150+
msgstr ""
151+
152+
#: template-parts/block/co-author-post.php:26
153+
msgid "Bejegyzések társszerzőként"
154+
msgstr ""
155+
156+
#: template-parts/block/latest-post.php:17
157+
msgid "Friss bejegyzések"
158+
msgstr ""
159+
160+
#: template-parts/block/latest-post.php:33
161+
msgid "Tovább a blogra"
162+
msgstr ""
163+
164+
#: template-parts/modal.php:24
165+
msgid "Ablak bezárása"
166+
msgstr ""
167+
168+
#: template-parts/newsletter.php:15
169+
msgid "Az e-mail címed"
170+
msgstr ""
171+
172+
#: template-parts/newsletter.php:16
173+
msgid "E-mail"
174+
msgstr ""
175+
176+
#: template-parts/newsletter.php:24
177+
msgid "Feliratkozás"
178+
msgstr ""
179+
180+
#: template-parts/newsletter.php:30
181+
#, php-format
182+
msgid "Elfogadom az <a href=\"%s\">adatkezelést</a>."
183+
msgstr ""
184+
185+
#: template-parts/newsletter.php:56
186+
msgid "Kérünk töltsd ki az e-mail mezőt."
187+
msgstr ""
188+
189+
#: template-parts/newsletter.php:62
190+
msgid "Kérünk fogadd el az adatkezelést"
191+
msgstr ""
192+
193+
#: template-parts/newsletter.php:84
194+
msgid "Sikeres feliratkozás, köszönjük!"
195+
msgstr ""
196+
197+
#: template-parts/newsletter.php:90
198+
msgid "Megszakadt feliratkozás, próbálkozz újra."
199+
msgstr ""
200+
201+
#: template-parts/newsletter.php:95
202+
msgid "Nem várt hiba, póbálkozz újra."
203+
msgstr ""

src/Modules/Auth.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ final class Auth extends Module
99
*
1010
* @return void
1111
*/
12-
public function assets(): void
12+
public static function assets(): void
1313
{
1414
wp_enqueue_style('base-login', get_template_directory_uri() . '/assets/css/login.css');
1515
}
@@ -19,7 +19,7 @@ public function assets(): void
1919
*
2020
* @return void
2121
*/
22-
public function removeShakeJs(): void
22+
public static function removeShakeJs(): void
2323
{
2424
remove_action('login_footer', 'wp_shake_js', 12);
2525
}
@@ -29,7 +29,7 @@ public function removeShakeJs(): void
2929
*
3030
* @return string
3131
*/
32-
public function getLogoText(): string
32+
public static function getLogoText(): string
3333
{
3434
return get_option('blogname');
3535
}
@@ -39,7 +39,7 @@ public function getLogoText(): string
3939
*
4040
* @return string
4141
*/
42-
public function getLogoUrl(): string
42+
public static function getLogoUrl(): string
4343
{
4444
return home_url();
4545
}
@@ -51,11 +51,9 @@ public function getLogoUrl(): string
5151
*/
5252
public function boot(): void
5353
{
54-
$module = new static();
55-
56-
add_filter('login_headerurl', [$module, 'getLogoUrl']);
57-
add_filter('login_headertext', [$module, 'getLogoText']);
58-
add_action('login_enqueue_scripts', [$module, 'assets']);
59-
add_action('login_footer', [$module, 'removeShakeJs']);
54+
add_filter('login_headerurl', [static::class, 'getLogoUrl']);
55+
add_filter('login_headertext', [static::class, 'getLogoText']);
56+
add_action('login_enqueue_scripts', [static::class, 'assets']);
57+
add_action('login_footer', [static::class, 'removeShakeJs']);
6058
}
6159
}

src/Modules/Preload.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function injectPreloadLinks(): void
2828
$as = $link['as'] ?? 'font';
2929
$type = $link['type'] ?? 'font/woff2';
3030
$href = $link['href'] ?? '';
31-
$crossorigin = $link['crossorigin'] ?? '';
31+
$crossorigin = $link['crossorigin'] ?? true;
3232

3333
if (!empty($href)) {
3434
printf(
@@ -37,7 +37,7 @@ public static function injectPreloadLinks(): void
3737
esc_attr($as),
3838
esc_attr($type),
3939
esc_url($href),
40-
!empty($crossorigin) ? 'crossorigin="' . esc_attr($crossorigin) . '"' : ''
40+
$crossorigin ? 'crossorigin' : ''
4141
);
4242
}
4343
}

0 commit comments

Comments
 (0)