Skip to content

v2.0.2 - Critical Homepage Bug Fix + Live Preview

Choose a tag to compare

@spcaeo spcaeo released this 21 Jan 17:18
· 148 commits to main since this release

🐛 Critical Bug Fix

This release fixes the homepage markdown URL detection bug reported in Issue #1.

What Was Fixed

Homepage URL Detection Bug

  • Homepage with static page now correctly generates /index.md instead of .md
  • Fixed incorrect is_front_page() && is_home() condition that failed for static homepages
  • Resolves Issue #1: #1

🎯 New Features

Live Preview & Validation

  • Real-time URL preview in Settings → General
  • Shows the exact markdown URL that will be generated
  • "Test URL" button to open and validate markdown in new tab
  • Preview updates dynamically as you change settings

User Experience

  • No more guessing if your homepage URL will work
  • Instant validation without leaving settings page
  • Visual feedback before saving changes

📸 Screenshot

The new preview section shows:

  • Your exact homepage markdown URL
  • Test button to validate it works
  • Updates in real-time as you change patterns

🔧 Technical Changes

  • Changed homepage detection from is_front_page() && is_home() to is_front_page()
  • Added live preview UI to settings page
  • Added dynamic JavaScript preview updates
  • Added homeUrl to localized admin script data

📦 Installation

Download the plugin ZIP file and install via WordPress admin:

  1. Go to Plugins → Add New → Upload Plugin
  2. Choose the downloaded ZIP file
  3. Click Install Now
  4. Activate the plugin

⚠️ After Update

Important: After updating, go to Settings → Permalinks and click Save Changes to flush rewrite rules.

🧪 Testing

Test your homepage markdown URL:

  1. Go to Settings → Third Audience → General
  2. Scroll to Homepage Markdown Pattern
  3. See the live preview of your URL
  4. Click "Test URL" to validate it works

Previous Release: v2.0.1