Files
Zeitfresser-Wordpress-Theme/readme.md
T
2026-04-21 01:59:57 +02:00

139 lines
4.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<p align="center">
<a href="https://ztfr.eu/matrix">
<img src="assets/community-badge.png" alt="Join Zeitfresser Matrix Community" height="70" />
</a>
</p>
<h1 align="center">
Zeitfresser Wordpress Theme
</span>
<h4 align="center">
<span style="display:inline-flex; align-items:center; gap:12px;">
A performance-optimized, minimalist dark blog theme for WordPress, inspired by the popular Dracula theme.
</span>
<p>
<h6 align="center">
<a href="https://ztfr.eu">🏰 Website</a>
·
<a href="https://ztfr.eu/matrix">📰 Zeitfresser Matrix Community</a>
·
<a href="https://social.ztfr.eu/@dome">🐘 Mastodon</a>
·
<a href="https://look.ztfr.eu/#/#support:ztfr.eu">💬 Supportchat</a>
</h6>
<br>
<img width="1176" height="1240" alt="grafik" src="https://github.com/user-attachments/assets/b7f2d4ce-828a-406e-9302-61074688ff74" />
<br>
<img width="1800" height="1271" alt="grafik" src="https://github.com/user-attachments/assets/aefff842-8189-48ae-965c-77799667b2a9" />
## ✨ Features
### 🚀 Performance First
- Optimized asset loading (no unnecessary scripts/styles)
- Removed WordPress bloat (emoji, embeds, etc.)
- Lazy loading images (`loading="lazy"`)
- Async decoding (`decoding="async"`)
- WebP image support (if server supports it)
- Reduced image sizes & optimized upload handling
- Minimal JavaScript footprint (vanilla JS only)
### 🧠 Core Web Vitals Optimized
- No layout shifts (CLS-safe)
- Optimized Largest Contentful Paint (LCP)
- Efficient DOM structure
- Lightweight scroll-based TOC (no heavy libraries)
### 🖼️ Image Optimization (Native)
- Automatic downscaling of large uploads
- Removed unused intermediate image sizes
- Balanced image quality vs. file size
- Optional WebP generation for thumbnails
### 📑 Floating Table of Contents (TOC)
- Editorial-style floating TOC (left side)
- Automatically generated from headings (H2H4)
- Smooth scrolling navigation
- Active section highlighting
- Progress indicator
- Responsive (hidden on smaller screens)
- Scrollable without visible scrollbar
### ⚙️ Customizer Options
Located under **General Options → Article TOC**
- **Show Article TOC**
- Enable/disable TOC globally
- Default: enabled
- **Number of Headlines to Start TOC**
- Minimum number of headings required
- Default: 3
- Range: 150
### 🎨 Design Philosophy
- Minimalist dark theme
- Strong focus on readability
- Accent color driven (purple highlight system)
- No visual clutter
- Editorial-style layout inspired by modern tech blogs
### 🧹 Clean Code Architecture
- Removed legacy theme bloat
- Modular structure
- Reduced CSS overrides and conflicts
- Centralized configuration handling
- No unnecessary dependencies
### 🔤 Typography
- Oswald (headings)
- Roboto (body)
- Optimized loading and fallback handling
### 📱 Responsive
- Fully responsive layout
- TOC automatically disabled on smaller screens
- Optimized mobile navigation
## 🛠️ Development Notes
- Built with **performance and maintainability in mind**
- No jQuery dependency
- Async-first approach where possible
- Designed for long-form technical content
## 📦 Installation
1. Download or clone the repository
2. Upload the theme to: /wp-content/themes/
3. Activate the theme in WordPress: Appearance → Themes
## ⚡ Recommended Setup
For best performance:
- Enable server-side caching
- Use a CDN (optional but recommended)
- Optimize existing images (if migrating from another theme)
- Use modern hosting (PHP 8+ recommended)
## 📌 Roadmap (Optional Ideas)
- Code block enhancements (copy button, syntax highlighting)
- Advanced TOC features (collapsible sections)
- Content utilities (callouts, notes, warnings)
- Further Core Web Vitals improvements
## 🛠 Development & Support
If you need to get support or want to participate in the active development of this software, you can <a href="https://ztfr.eu/matrix">join our Zeitfresser Matrix Community</a> or the <a href="https://look.ztfr.eu/#/#support:ztfr.eu">Development & Support Channel</a> on Matrix.
## 📄 License
GPL v2 or later
Based on Daisy Blog, heavily modified and optimized.