Conversation
Removed classic PHP templates, legacy assets, and deprecated scripts. Added block-based templates, template parts, post format patterns, and a comprehensive theme.json for design tokens and settings. Updated functions.php and includes for FSE compatibility, and added extensive documentation covering migration, styling, and asset cleanup. This completes the transition to a modern, semantic, and IndieWeb-compatible FSE theme.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
- Add status post format template with social-media-inspired layout - Add post format template hierarchy filter for format-specific templates - Fix and improve comment section: unified heading sizes, proper reply link sizing, better spacing, threaded comment indentation - Simplify and DRY up style.css: extract shared meta text, link hover, and action link patterns into grouped selectors - Improve heading scale (h1-h6) with distinct typographic hierarchy - Show full post content + featured images in archives instead of excerpts - Add comment count reaction links with speech bubble icons on all posts - Unify entry-footer and entry-meta styling - Fix prev/next navigation link layout (flex inside constrained wrapper) - Add proper spacing between post sections (nav, comments) - Remove AI-generated migration docs and Grunt remnants
Introduces format-specific single templates for aside and video post formats, video-hero dynamic block for extracting embeds, embed sizing defaults, and editor style support. Adds aside CSS (hidden title, 1.5em content, author styling) and video CSS (dark hero area, caption styling, archive overrides).
…support - Fix site logo SVG not getting display:block (only targeted img, not svg) - Reduce logo-title gap from 0.6em to 0.35em - Fix author byline wrapping by preventing flex-shrink on "by" text - Add alignleft/alignright float styles for page content - Remove stale get_theme_mod Customizer reference in semantics.php - Register minimal editor script for video-hero block to fix Site Editor warning
- Override branding gap via CSS (0.35em) since DB-customized templates ignore file changes; reverted template gap back to default - Consolidate duplicate byline/name selectors - Bump version to 2.0.1 for cache busting
The <p> elements inside .wp-block-post-author__content were not sizing correctly as flex items, causing "by" to fill the container and the author name to overflow. Switching to display:inline fixes the layout.
Old classic-editor video posts don't have proper block structure, causing the video-hero to render a full-viewport dark area with GDPR consent overlays. Skip extraction when has_blocks() is false.
alignleft/alignright images were floating to the viewport edges because the content container is full-width in FSE themes. Uses calculated margins to keep floated blocks within the centered content area.
The --wp--style--global--content-size variable is always set by theme.json, so no fallback needed.
The video-hero iframe was overflowing its 0-height container, covering the header. Added overflow:hidden on the hero and explicit responsive embed rules to handle cases where privacy plugins break WordPress core sizing.
Added overflow:hidden on the video-hero and embed wrapper, plus explicit responsive embed rules to handle cases where third-party plugins break WordPress core's aspect-ratio sizing.
Embeds requested at 900px were overflowing 700px content containers on archive pages. Added max-width:100% and height:auto on embed iframes.
Iframes don't have intrinsic aspect ratio like images, so height:auto collapses them to the browser default. Keep only max-width:100%.
Includes: embed iframe max-width constraint, video-hero overflow fix, float alignment fix for FSE constrained layouts.
Removed embed_defaults and oembed_fetch_url filters that forced 900px embeds. WordPress now uses the content_width (700px) for oembed requests, so embeds fit naturally without CSS overflow hacks.
Embeds with alignwide/alignfull break on archives where the content area is narrower than the wide size. A render_block filter now removes these classes on non-singular pages, replacing the previous CSS override.
Legacy embed blocks use core-embed/vimeo etc. instead of core/embed, so the specific render_block_core/embed hook didn't match. Now uses the generic render_block filter with a blockName check for 'embed'.
Removed custom alignwide, alignfull CSS and embed filter hacks that were fighting with WordPress core layout. Kept only alignleft/alignright float fix which is needed because core doesn't constrain floats in constrained layouts. Removed embed_defaults and oembed_fetch_url overrides.
The embed figure needs position:relative to establish a positioning context, and the hero needs overflow:hidden. Without this, any plugin that uses position:absolute on embed wrappers breaks the layout.
- Add esc_url/esc_html to unescaped output in webactions and semantics
- Add null checks for $post in semantics, feed, and webactions
- Fix undefined extra_attr array key for PHP 8+ compatibility
- Fix nested <footer> by removing tagName from footer template-part refs
- Fix spacing JSON attribute placement (move under "style") in templates
- Remove dead code: lazy loading regex, get_self_link polyfill, empty
editor_assets/register_block_styles, unused theme mod and header checks
- Remove unnecessary class_exists('WP_HTML_Tag_Processor') guards
- Remove regex fallbacks from semantic functions (WP 6.4+ required)
- Fix missing text domain in __() calls
- Sync version to 2.0.2, add copy-webpack-plugin dep, lint scripts
- Add phpcs.xml exclude patterns for node_modules/vendor/build
- Remove unused useEntityProp import, deduplicate getEntityRecord calls
- Add dark mode overrides for ::selection and ins, merge duplicate CSS
Add Base and Contrast color presets to the theme palette (theme.json) and define corresponding CSS variables in the dark-mode :root (style.css). These changes provide explicit palette entries and variables to support the site's dark color scheme.
- Migrate color palette to light-dark() CSS function in theme.json, eliminating the CSS media query variable overrides - Add base/contrast color pair for WordPress core compatibility - Add light and dark style variations for manual mode selection - Move figcaption styles to theme.json elements.caption - Remove redundant CSS: meta text patterns, entry footer prefix, block separator override, submenu styles, screen-reader-text, focus-visible, and editor.css - Load style.css in block editor instead of stale editor.css - Use light-dark() for ::selection and ins highlights - Fix search bar background in dark mode with --base variable
Bump base font size to 1.2rem, reduce heading sizes to match niklasbarning.de proportions, and increase heading font weights (h1: 500, h2: 600, h3: 700). Add Merriweather 500/600 via variable font (v33) and Lato 400/700/900 with italics from Google Fonts v25.
Match single template by using constrained layout for post-content in the query loop, fixing quote block alignment on archive pages.
WordPress doesn't output var:custom blockGap values in container classes, so the default 24px gap was used instead of the intended 0.35em. Apply the gap directly via CSS.
Replace the full search input with a button-only search icon to prevent the search field from crowding nav items on smaller viewports.
Move search block into the navigation as an inner block (icon-only on desktop). Add a custom navigation-overlay template part for the mobile menu with full search input, proper padding, and large font size for menu items. Requires WordPress 7.0+ for overlay template part support. Update wp-env to use WordPress master. Remove unused site-header-right CSS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed classic PHP templates, legacy assets, and deprecated scripts. Added block-based templates, template parts, post format patterns, and a comprehensive theme.json for design tokens and settings. Updated functions.php and includes for FSE compatibility, and added extensive documentation covering migration, styling, and asset cleanup. This completes the transition to a modern, semantic, and IndieWeb-compatible FSE theme.