Ermald Billa
v1.0.0 — WP 5.8–6.9.1 — PHP 7.4–8.4 — Gratuito
Tushi
Tema WordPress Ultra-Performante e
SEO-Native
Un tema WordPress leggero, veloce e completamente open-source. Costruito senza jQuery, con font self-hosted, JSON-LD Schema.org nativo e piena compatibilità con Elementor e Gutenberg.
Un tema costruito per la velocità e per Google
Tushi nasce come risposta alle esigenze di chi sviluppa siti WordPress ad alte prestazioni: un tema framework essenziale, privo di dipendenze superflue, che non interferisce con le scelte dell’utente ma fornisce una base tecnica solida e conforme agli standard ufficiali di WordPress.org.
Il codice è scritto in PHP vanilla, con un CSS modulare sotto i 50 KB e un solo script
JavaScript (navigation.js) per la gestione del menu mobile. Nessun jQuery,
nessuna richiesta a server esterni, nessun font caricato da Google Fonts — tutto self-hosted
per massima performance e conformità GDPR.
La demo di riferimento Tushi Health mostra il tema applicato al settore
medicale/clinico, con markup Schema.org di tipo MedicalOrganization e
WebSite iniettato automaticamente nell’<head> tramite JSON-LD.
Tutto quello che serve, nient’altro
Zero jQuery
Il tema de-registra jQuery sul frontend. Vanilla JS puro per logiche UI minimali. Nessun blocco al rendering.
Font self-hosted
Plus Jakarta Sans (woff2, OFL 1.1) è bundled nella cartella /fonts. Preload
HTTP/2 attivo per i subset latin critici. Zero richieste Google.
JSON-LD Schema.org
Iniezione automatica di WebSite, SearchAction e
Article in ogni pagina. MedicalOrganization per la demo Health.
Gutenberg nativo
Supporto align-wide, responsive-embeds, editor-styles.
Blocchi standard senza CSS ridondante deregistrato sul frontend.
Elementor Pro
Registrazione completa di header, footer, archive e
single tramite register_all_core_location().
Sicurezza & escaping
Uso sistematico di esc_html__(), esc_url(),
wp_json_encode() e wp_kses_post() in tutto il codice PHP.
Accessibility-ready
Skip link, heading gerarchici, ARIA roles, contrasto WCAG AA su tutti i colori, navigazione tastiera su menu e widget sidebar.
Translation-ready
Text domain tushi con load_theme_textdomain(). Tutte le stringhe
PHP wrapped in esc_html_e() / esc_html__().
Requisiti e compatibilità
| Voce | Valore / Stato |
|---|---|
| Versione WordPress minima | 5.8 |
| Versione WordPress testata | 6.9.1 |
| PHP minimo | 7.4 — testato fino a 8.3 / 8.4 |
| Licenza | GNU General Public License v2 o superiore |
| Font incluso | Plus Jakarta Sans — SIL Open Font License 1.1 |
| Peso core (PHP + CSS + JS) | < 50 KB (senza font) |
| jQuery sul frontend | ✓ Rimosso |
| Richieste a server esterni | ✓ Nessuna |
| Custom Post Types inclusi | ✓ Nessuno |
| Elementor Theme Builder | ✓ Supportato |
| Blocchi Gutenberg | ✓ Supportati |
| WooCommerce | Compatibile (dequeue wc-blocks-style incluso) |
Architettura del tema
Il tema segue la gerarchia di template WordPress standard. La logica di performance e SEO è
separata in inc/performance.php per mantenere functions.php leggero.
Esempi di implementazione
Di seguito tre estratti chiave che mostrano il pattern tecnico del tema.
Font preloading —
inc/performance.php
Inietta <link rel="preload"> per i subset latin critici prima di qualsiasi altro
asset,
sfruttando la priorità HTTP/2 del browser per azzerare il FOIT (Flash of Invisible Text).
function tushi_preload_resources() {
$fonts_dir = get_template_directory_uri() . '/fonts';
$critical_fonts = array(
$fonts_dir . '/plus-jakarta-sans-v4.woff2', // latin 400
$fonts_dir . '/plus-jakarta-sans-v12.woff2', // latin 700
);
foreach ( $critical_fonts as $font_url ) {
echo '<link rel="preload" href="'
. esc_url( $font_url )
. '" as="font" type="font/woff2" crossorigin="anonymous">'
. "\n";
}
}
add_action( 'wp_head', 'tushi_preload_resources', 1 );
JSON-LD Schema.org —
inc/performance.php
Schema WebSite + SearchAction in homepage per i Sitelinks Search Box di
Google.
Schema Article automatico su tutti i singoli post.
if ( is_front_page() ) {
$schema = array(
'@context' => 'https://schema.org',
'@type' => 'WebSite',
'name' => get_bloginfo( 'name' ),
'url' => home_url( '/' ),
'potentialAction' => array(
'@type' => 'SearchAction',
'target' => home_url( '/?s={search_term_string}' ),
'query-input' => 'required name=search_term_string',
),
);
echo '<script type="application/ld+json">'
. wp_json_encode( $schema )
. '</script>';
}
Head cleanup & dequeue —
functions.php
Rimozione sistematica di emoji, wp-embed, RSD link, versione WP e CSS di Gutenberg sul frontend.
Riduce il peso dell’<head> e i round-trip HTTP.
function tushi_cleanup() {
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
wp_deregister_script( 'jquery' );
wp_deregister_script( 'wp-embed' );
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'wlwmanifest_link' );
remove_action( 'wp_head', 'rsd_link' );
}
add_action( 'init', 'tushi_cleanup' );
function tushi_remove_block_css() {
wp_dequeue_style( 'wp-block-library' );
wp_dequeue_style( 'global-styles' );
}
add_action( 'wp_enqueue_scripts', 'tushi_remove_block_css', 100 );
WordPress Theme Review Checklist
Il tema supera tutti i requisiti obbligatori delle WP Theme Review Guidelines (si apre in una nuova scheda) prima dell’invio alla directory ufficiale.
-
style.csscon header completo: Theme Name, License, Text Domain, Version, Author URI -
readme.txtcon sezione Third Party Resources e licenza OFL 1.1 del font dichiarata -
screenshot.png1200×900 px presente nella root del tema - Nessun Custom Post Type incluso nel tema (topic-lock policy WordPress.org)
- Nessun Demo Importer incluso nel tema (topic-lock policy WordPress.org)
-
Sanitizzazione completa:
esc_html__(),esc_url(),wp_kses_post(),wp_json_encode() -
Zero inline style negli hook PHP di WordPress (
register_sidebar, widget, etc.) -
Text domain
tushiusato in tutte le stringhe traducibili conload_theme_textdomain() - Self-hosted fonts: zero richieste a Google Fonts o CDN esterni a runtime — conformità GDPR
-
font-display: swapsu tutti i@font-faceper prevenire FOIT -
Skip link WCAG 2.4.1 implementato in
header.phpe stilato instyle.css -
add_theme_support('title-tag'),post-thumbnails,html5,align-wide
Come installare Tushi
- Dalla dashboard WordPress: Aspetto → Temi → Aggiungi nuovo
- Clicca “Carica tema” e seleziona il file
tushi.zip, oppure cercalo direttamente per nome nella directory - Clicca “Installa ora” e poi “Attiva”
- (Opzionale) Installa Elementor per accedere al Theme Builder completo con Header, Footer, Archive e Single personalizzati
Pronto a iniziare?
Scarica Tushi gratuitamente dalla directory ufficiale di WordPress.org e inizia a costruire siti ultra-veloci.
Scarica Tushi — Gratis (si apre in una nuova scheda)