Repository navigation
v2.0.2 - Critical Homepage Bug Fix + Live Preview
🐛 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.mdinstead 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()tois_front_page() - Added live preview UI to settings page
- Added dynamic JavaScript preview updates
- Added
homeUrlto localized admin script data
📦 Installation
Download the plugin ZIP file and install via WordPress admin:
- Go to Plugins → Add New → Upload Plugin
- Choose the downloaded ZIP file
- Click Install Now
- 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:
- Go to Settings → Third Audience → General
- Scroll to Homepage Markdown Pattern
- See the live preview of your URL
- Click "Test URL" to validate it works
Previous Release: v2.0.1