Skip to content

Add comprehensive widget system to WordPress theme with 11 custom widgets including carousels - #291

Merged
makr-code merged 7 commits into
developfrom
copilot/add-slidefolien-to-themis-theme
Jan 8, 2026
Merged

makr-code merged 7 commits into
developfrom
copilot/add-slidefolien-to-themis-theme

Conversation

Copilot AI commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

Implements slideshow functionality and comprehensive content widgets for the ThemisDB WordPress theme to highlight articles and organize content presentation with enhanced sidebar usability.

Implementation

Eleven custom widgets:

  • Featured Slider - Auto-playing carousel for sticky posts with touch/keyboard navigation
  • Recent Posts - Thumbnail grid with configurable count
  • Category Highlights - Category-filtered content showcase
  • Call-to-Action - Gradient boxes with 4 color variants for links/announcements
  • About Box - Project information display with optional icon, perfect for sidebar descriptions
  • Social Links - GitHub, Twitter, Discord, LinkedIn links with branded SVG icons
  • Tag Cloud - Most used tags display with post counts and hover effects
  • Quick Links - Up to 5 documentation/navigation links with animated arrows
  • Testimonials Carousel - Rotating customer testimonials/quotes with autoplay (7s interval)
  • Image Carousel - Rotating image gallery with captions and optional links (5s autoplay)
  • Timeline Carousel - Events/milestones in a sliding timeline with manual navigation

Homepage integration:

  • Conditional featured slider on front page (displays when sticky posts exist)
  • Automatic detection and display of up to 5 sticky posts

Technical Details

  • 1,319 lines widget classes with 11 custom widgets (inc/widgets.php)
  • 239 lines vanilla JS slider with touch gestures (js/slider.js)
  • 283 lines carousel functionality for testimonials, images, and timeline (js/carousel.js)
  • 1,137 lines responsive CSS with Themis brand colors (css/widgets.css)
  • Zero dependencies, WCAG 2.1 AA compliant

Carousel Features

All carousel widgets include:

  • Touch gesture support (swipe left/right)
  • Keyboard navigation (arrow keys)
  • Autoplay with pause on hover (where enabled)
  • Navigation buttons (previous/next)
  • Dots/indicators for current position
  • Fully responsive and accessible

Usage

// Widgets available in WordPress Admin > Widgets
// Mark posts as sticky to feature in sliders:
// Edit post > "Stick to the top of the blog"

Recommended Sidebar Setup

For optimal usability:

  1. About Box - Provide project context
  2. Quick Links - Fast access to important pages
  3. Tag Cloud - Enable topic exploration
  4. Social Links - Community connection

For dynamic content presentation:

  1. Testimonials Carousel - Build trust with customer quotes
  2. Image Carousel - Showcase features/screenshots
  3. Timeline Carousel - Display project milestones

Screenshot

Demo shows all 11 widgets: featured slider with navigation controls, recent posts with thumbnails, category highlights, CTA boxes in multiple color styles, about box with icon, social links with SVG icons, tag cloud with post counts, quick links with animated arrows, testimonials carousel with quotes, image carousel with captions, and timeline carousel with events.

Documentation

  • WIDGETS_GUIDE.md - German user guide with configuration instructions for all 11 widgets
  • WIDGETS_IMPLEMENTATION_SUMMARY.md - Technical reference
  • demo.html - Standalone visual test page with all widgets
Original prompt

Das Wordpress theme der themis soll auch slidefolien und ähnliches im design-modell bieten um bestimmte Artikel hervorzuheben. Gibt es weiter widgets die für das theme interessant sind?


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add slidefolien and widget options to Themis theme Add slider and widget system to WordPress theme for featured content Jan 8, 2026
Copilot AI requested a review from makr-code January 8, 2026 15:40
@makr-code

Copy link
Copy Markdown
Owner

@copilot Wie können wir die Benutzerfreundlichkeit weiter verbessern. Wir brauchen noch sinnvolle Hilfsmittel für die sidebards

…inks, Tag Cloud, and Quick Links

Co-authored-by: makr-code <[email protected]>

Copilot AI commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Wie können wir die Benutzerfreundlichkeit weiter verbessern. Wir brauchen noch sinnvolle Hilfsmittel für die sidebards

Ich habe 4 zusätzliche Sidebar-Widgets hinzugefügt, um die Benutzerfreundlichkeit zu verbessern:

Neue Widgets:

  1. 📦 About Box - Info-Box für Projektbeschreibungen
  2. 🔗 Social Links - GitHub, Twitter, Discord, LinkedIn mit Icons
  3. 🏷️ Tag Cloud - Schlagwort-Wolke für Themen-Navigation
  4. ⚡ Quick Links - Bis zu 5 Dokumentations-/Navigationslinks

Optimale Sidebar-Kombination:

  • About Box (Kontext geben)
  • Quick Links (Schnellzugriff auf wichtige Seiten)
  • Tag Cloud (Themen entdecken)
  • Social Links (Community-Verbindung)

Alle Widgets sind responsive, barrierefrei und im Demo sichtbar.

Commit: 9d91836

Alle Widgets

Copilot AI changed the title Add slider and widget system to WordPress theme for featured content Add comprehensive widget system to WordPress theme with 8 custom widgets Jan 8, 2026
@makr-code

Copy link
Copy Markdown
Owner

@copilot Gibt es weiter ähnliche widgets wie slider die wir nutzen umsetzen können

Copilot AI commented Jan 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Gibt es weiter ähnliche widgets wie slider die wir nutzen umsetzen können

Ja! Ich habe 3 zusätzliche Karussell-Widgets hinzugefügt, die ähnlich wie der Featured Slider funktionieren:

Neue Karussell-Widgets:

  1. 💬 Testimonials Carousel - Rotierende Kundenstimmen/Zitate

    • Bis zu 3 Testimonials
    • Autoplay (7 Sekunden)
    • Touch-Gesten für mobile Geräte
  2. 🖼️ Image Carousel - Rotierendes Bild-Karussell

    • Bis zu 5 Bilder mit Bildunterschriften
    • Autoplay (5 Sekunden)
    • Optionale Links für Bilder
  3. 📅 Timeline Carousel - Zeitstrahl-Karussell

    • Bis zu 5 Events/Meilensteine
    • Manuelle Navigation (kein Autoplay)
    • Perfekt für Projekt-Geschichte

Gemeinsame Features:

  • Touch-Gesten (Swipe links/rechts)
  • Tastatur-Navigation (Pfeiltasten)
  • Responsive Design
  • Barrierefreie Navigation

Insgesamt 11 Widgets (4 Slider/Karussell + 7 andere).

Commit: d065fd5

Alle Widgets mit Karussells

Copilot AI changed the title Add comprehensive widget system to WordPress theme with 8 custom widgets Add comprehensive widget system to WordPress theme with 11 custom widgets including carousels Jan 8, 2026
@makr-code
makr-code marked this pull request as ready for review January 8, 2026 16:07
@makr-code
makr-code merged commit 757b982 into develop Jan 8, 2026
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
Copilot AI added a commit that referenced this pull request May 20, 2026
…302, #308-311 (10 stubs)

- #290: DistributedTrainer::AllReduceCpuFn injection API; allreduce_cpu() delegates to injected fn, falls back to local-scale for world_size=1
- #291: AdaptiveShardRouter::NlpContextFn injection API; prepareQueryContext() delegates to NLP provider, falls back to keyword patterns
- #296: FeedbackStore::SpamKeywordsProviderFn (static setSpamKeywordsProvider); getSpamKeywords() uses provider when set
- #297: FeedbackStore::applyPluginValidation() (non-const FeedbackEntry&); MODIFY path applies modified_comment/modified_metadata
- #298: Http2Session RAII ResponseBuffer via shared_ptr + response_buffers_ map; no more raw new/delete; sendResponse+sendServerPush+onStreamCloseCallback updated
- #302: VoiceApiHandler::TokenValidatorFn (static setTokenValidatorFn); validateBearerToken() delegates to injected JWT validator
- #308: VoiceAssistant::deleteSession() hard-delete (throws out_of_range if not found); handleDeleteSession() returns HTTP 404 on not-found
- #309: GPUMemoryManager::NvmlTemperatureFn (static setNvmlTemperatureFn); CUDA updateGPUHealth() queries injected fn
- #310: AutoRebalancer::signOperation() all UNSIGNED fallbacks replaced with std::runtime_error (fail-closed)
- #311: PaxosStatePersistence::persistAccept() ConsensusLogEntry populated with index/term/data JSON

Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/138b1d85-2afa-4f88-ba0a-761fe11a5fbd

Co-authored-by: makr-code <[email protected]>
Copilot AI added a commit that referenced this pull request May 20, 2026
- Add RerouteSerializeFn tests (stub #252)
- AstVisitorFn bridge: TensorAwareQueryOptimizer (stub #275)
- ExactSimilarityFn bridge: TensorFingerprintGraph (stub #276)
- [[deprecated]] attribute: ggmlCorePtrs (stub #277)
- RpcPhase2Fn bridge: DistributedTransactionManager (stub #279)
- AuthorizeFn bridge: RopeApiHandler RBAC (stub #280)
- HttpPostFn bridge: AIPluginGenerator (stub #282)
- HTToTTFn bridge: HTTrain (stub #286)
- ModelPathProviderFn bridge: LoRATrainingService (stub #289)
- AllReduceCpuFn bridge: DistributedTrainer (stub #290)
- NlpContextFn bridge: AdaptiveShardRouter (stub #291)
- StringArrayFn bridge: PropertyGraphManager (stub #292)
- SchemaInspectorFn/SchemaValidatorFn: ImportApiHandler (stub #294)
- Lz4CompressFn/Lz4DecompressFn: SecureTransportClient (stub #295)
- SpamKeywordsProviderFn: FeedbackStore (stub #296)
- MODIFY path fix: FeedbackStore validateWithPlugin (stub #297)
- shared_ptr ResponseBuffer RAII: Http2Session (stub #298)
- ModelPathProviderFn: ThemisHelpLoRA Config (stub #299)
- IngestExternalFileFn: BackupManager (stub #300)
- StatsQueryFn: RopeApiHandler (stub #307)
- Update STUB_INVENTORY.md: 272->292 resolved, 44->24 active

Co-authored-by: Copilot <[email protected]>

Co-authored-by: makr-code <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants