A modern, accessible WordPress theme with dark mode support, Gutenberg blocks, and extensive customization options. Built for performance, SEO, GDPR compliance, and European Accessibility Act standards.
- Features
- Installation
- Theme Structure
- Customization
- Browser Support
- Accessibility
- GDPR Compliance
- Security
- Credits
- License
- Support
- Changelog
- Author
- Dark Mode / Light Mode: Automatic, light, or dark mode with CSS3 animations and user preference storage
- Fully Responsive: Mobile-first design that works on all devices
- Gutenberg Ready: Full block editor support with custom blocks
- Accessibility Ready: European Accessibility Act compliant with ARIA labels, keyboard navigation, and skip links
- SEO Optimized: Structured data, Open Graph meta tags, and proper heading hierarchy
- GDPR Compliant: Local font hosting, no external dependencies, privacy-friendly features
- Security Focused: Uses
$wpdb->preparefor queries, nonce verification, input sanitization
- Custom logo with fallback to default
logo.svg - Color scheme customization:
- Primary, Secondary, Tertiary colors
- Text color / Dark mode text color
- Highlight color
- Background / Dark mode background colors
- Button styles (Primary, Secondary, Tertiary) with outline and rounded corner options
- Sticky menu option
- Hamburger menu option (always visible or responsive)
- Google Fonts with local hosting support
- Product placement notice text for affiliate content
- Frontend login system toggle
- Custom CSS field
- Post type activation toggles
All post types can be enabled/disabled via Customizer:
-
Testimonials
- noindex, nofollow for SEO
- No single post template or archive
- Custom taxonomy: Testimonial Categories
- Fields: Title, Content, Name, Thumbnail
-
Partners
- noindex, nofollow for SEO
- Custom taxonomy: Partner Categories
- Fields: Title, Website Link, Logo Image, Content
- Custom order support
-
Team
- Custom taxonomy: Team Categories
- Fields: Title, Name, Position, Thumbnail, Secondary Thumbnail (hover)
- Custom order support
- Multiple layout options
-
Projects
- Custom taxonomy: Project Tags
- Fields: Title, Content, Image Gallery, Project Website, Testimonial link
- Custom order support
- Text Content Block - Styled text with alignment and width options
- Call to Action Block - Headline, text, button, images, layout options
- Affiliate Link Block - Styled external links with disclosure notice
- Member Content Block - Role-based visibility for logged-in users
- Testimonial Block - Grid or slider display with Flickity integration
- Partner Block - Grid or slider display with Flickity integration
- Team Block - Grid/slider layouts with lightbox support for contact info
[testimonials category="" slider="yes"]- Display testimonials[partners category="" slider="yes"]- Display partners[team category="" layout="grid"]- Display team members[projects tags="" ajax_filter="yes"]- Display projects with filtering
- Startpage - Static home page template
- Blog - Blog listing page
- Team - Team members display
- Projects - Project portfolio with Ajax filtering
- Login - Frontend login form
- Register - Frontend registration form
- Forgot Password - Password reset form
- My Account - User profile and account management
- Logged In - Restricted content for members
- Main Menu
- Footer Menu
- Social Menu (with icon display)
- Logged In Menu
When enabled in Customizer:
- Custom login/logout menu items
- Frontend login forms
- User account page with profile editing
- Integration with Simple Local Avatars plugin (disables Gravatar)
- Non-admin users redirected to frontend after login
- Admin bar hidden for non-admins
- Custom logo on WP login screen
- Product placement notices for posts with affiliate links
- Social menu with icon support
- Flickity slider library (locally hosted for GDPR)
- Download or clone this repository
- Copy the
prospero-themefolder to your WordPress installation's/wp-content/themes/directory - Activate the theme through the WordPress admin panel
- Customize the theme via Appearance → Customize
The theme includes automatic update functionality via GitHub releases. When a new version is released, you'll see an update notification in WordPress just like themes from WordPress.org.
prospero-theme/
├── assets/
│ ├── css/
│ │ ├── main.css # Main theme styles
│ │ ├── dark-mode.css # Dark mode specific styles
│ │ ├── blocks.css # Custom block styles
│ │ ├── shortcodes.css # Shortcode styles
│ │ └── editor-style.css # Gutenberg editor styles
│ ├── js/
│ │ ├── main.js # Main JavaScript (menu, lightbox)
│ │ ├── dark-mode.js # Dark mode functionality
│ │ ├── flickity-init.js # Slider initialization
│ │ ├── faq-accordion.js # FAQ accordion functionality
│ │ └── projects-filter.js # Ajax project filtering
│ ├── fonts/ # Local fonts (auto-downloaded)
│ └── libs/
│ └── flickity/ # Flickity slider library
├── blocks/ # Custom Gutenberg blocks
├── inc/
│ ├── ajax-filters.php # Ajax filter handlers
│ ├── blocks.php # Block registration
│ ├── customizer.php # Theme Customizer settings
│ ├── frontend-login.php # Frontend login system
│ ├── gutenberg.php # Gutenberg configuration
│ ├── post-types.php # Custom post types
│ ├── security.php # Security functions
│ ├── seo.php # SEO functions
│ ├── shortcodes.php # Shortcode implementations
│ ├── template-functions.php # Template helper functions
│ ├── theme-updater.php # GitHub auto-updates
│ ├── typography.php # Google Fonts local hosting
│ └── lib/
│ └── plugin-update-checker/ # Update checker library
├── languages/ # Translation files
├── template-parts/ # Reusable template components
├── functions.php # Theme functions
├── header.php / footer.php # Header and footer templates
├── index.php # Main template fallback
├── template-*.php # Page templates
├── single-*.php # Single post type templates
├── archive-*.php # Archive templates
└── style.css # Theme stylesheet with header
Navigate to Appearance → Customize → Theme Colors to customize:
- Primary, Secondary, Tertiary colors
- Text and background colors for light and dark modes
- Highlight color
Navigate to Appearance → Customize → Typography:
- Choose Google Fonts (will be downloaded and hosted locally)
- Or use system fonts for better performance
Navigate to Appearance → Customize → Post Types to enable/disable:
- Testimonials
- Partners
- Team
- Projects
Navigate to Appearance → Customize → Dark Mode Settings:
- Enable/disable dark mode
- Set default mode (Light, Dark, or Auto based on system preference)
- Chrome (last 2 versions)
- Firefox (last 2 versions)
- Safari (last 2 versions)
- Edge (last 2 versions)
This theme follows the European Accessibility Act standards and WCAG 2.1 Level AA guidelines:
- Proper color contrast ratios
- Keyboard navigation support
- ARIA labels where appropriate
- Skip links for screen readers
- Focus indicators
- Responsive text sizing
- All fonts and libraries hosted locally
- No external requests without user consent
- Privacy-friendly default settings
- User data handling according to EU/German/Austrian regulations
- Uses
$wpdb->preparefor all database queries - Nonce verification for forms
- Input sanitization and output escaping
- Capability checks for admin functions
- XML-RPC disabled
- WordPress version information removed
- Flickity (GPL v3) - https://flickity.metafizzy.co/ - Image carousels and sliders
- Plugin Update Checker (MIT) - https://github.com/YahnisElsts/plugin-update-checker - GitHub auto-updates
- Google Fonts (SIL Open Font License) - Downloaded and hosted locally for GDPR compliance
GNU General Public License v2 or later http://www.gnu.org/licenses/gpl-2.0.html
For support, please open an issue in the GitHub repository.
- Complete theme structure and architecture
- Full Customizer integration (colors, typography, layout, post types)
- Dark mode / Light mode with preference storage
- Four custom post types: Testimonials, Partners, Team, Projects
- Seven custom Gutenberg blocks
- All shortcodes for custom post types
- Nine page templates including full frontend login system
- Flickity slider integration
- Google Fonts local hosting (GDPR compliant)
- Team member lightbox functionality
- Ajax project filtering
- GitHub auto-update system
- Accessibility features (European Accessibility Act compliant)
- SEO optimizations (Schema.org, Open Graph)
- Security hardening
resQ online e.U. https://www.resqonline.eu