Skip to content

Releases: AoShin327/moments

Release list

v1.0.0

Choose a tag to compare

@AoShin327 AoShin327 released this 09 Oct 20:19

🎨 Major Features

Media Layout System

  • Three Layout Options: Choose between Square, Narrow/Vertical, and Wide/Horizontal layouts for both images and videos
  • Consistent Sizing: Videos and images now share the same layout constraints
    • Square/Narrow: 50% width with aspect ratio preservation
    • Wide: 66% width with aspect ratio preservation
  • Smart Aspect Ratio: Automatic aspect ratio detection and preservation for media files

Editor UI Improvements

  • Enhanced Button Styling: Modernized buttons with improved hover effects and animations
  • Better Touch Targets: Increased button sizes and padding for improved usability
  • Visual Feedback: Added smooth transitions and micro-interactions throughout the editor
  • Optimized Layout: Better spacing and organization of media controls

Localization

  • Chinese Translation: Added "从URL插入" translation for "insert from URL"
  • Compiled Language Files: Updated .mo files for immediate translation availability

🐛 Bug Fixes

  • Fixed horizontal image layout not maintaining aspect ratio
  • Fixed video width specificity issues in CSS
  • Fixed video thumbnail display blocking editor buttons
  • Fixed API response overwriting page content
  • Fixed 500 errors from wp_get_attachment_image_src returning false
  • Fixed media upload field name mismatches (block → square)

🔧 Technical Improvements

  • Expanded supported MIME types for video uploads (MP4, MOV, M4V, WebM, OGG)
  • Enhanced error handling for missing files in media upload API
  • Improved CSS specificity and organization
  • Better video metadata extraction (aspectratio, cover)

📦 Installation

Upload the theme to your WordPress site and activate it through the WordPress admin panel.

🙏 Credits

Moments - A WordPress theme for sharing life's moments