Description:
When using ?format=markdown on a site with a static front page configured (Settings > Reading > "A static page"), the plugin returns the latest blog posts list instead of the actual front page content.
Steps to reproduce:
Set a static page as homepage in Settings > Reading
Visit https://example.com/?format=markdown
The response contains a list of recent blog posts instead of the static page content
Expected behavior:
The plugin should return the markdown version of the configured static front page.
Additional context:
Accessing other pages works correctly (e.g. https://example.com/other-page/?format=markdown)
WordPress detects the front page via is_front_page() + page_on_front option, which may not be matched by the plugin's content resolution logic
Tested on WordPress 6.9.4 with pretty permalinks enabled
Hosting: o2switch (shared hosting, Apache)
Description:
When using ?format=markdown on a site with a static front page configured (Settings > Reading > "A static page"), the plugin returns the latest blog posts list instead of the actual front page content.
Steps to reproduce:
Set a static page as homepage in Settings > Reading
Visit https://example.com/?format=markdown
The response contains a list of recent blog posts instead of the static page content
Expected behavior:
The plugin should return the markdown version of the configured static front page.
Additional context:
Accessing other pages works correctly (e.g. https://example.com/other-page/?format=markdown)
WordPress detects the front page via is_front_page() + page_on_front option, which may not be matched by the plugin's content resolution logic
Tested on WordPress 6.9.4 with pretty permalinks enabled
Hosting: o2switch (shared hosting, Apache)