=== GH Blog Optimize ===
Contributors: garryheath
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later

Jetpack-style related posts tiles, comments disabled on posts, and the WordPress.com site accelerator — without the Jetpack plugin.

== Description ==

Three Jetpack features, rebuilt lean for speed:

* Site accelerator: serves this site's images through the WordPress.com Photon image CDN (i0.wp.com) with server-side resizing and responsive srcset, and serves WordPress core CSS/JS from c0.wp.com. Front-end only; wp-admin and the block editor are never touched.
* Related posts: three tiles after each blog post, scored locally by shared tags and categories in one SQL query and cached. Optional heading and thumbnails.
* Comments disabled on posts: closes comments and pingbacks, hides existing comments and the form, removes the Discussion panel. Pages are not affected.

Settings live under Settings > Blog Optimize. If Jetpack's matching module is active, the overlapping feature pauses automatically.

Developer filters: ghbo_image_cdn_enabled, ghbo_image_cdn_allowed_hosts, ghbo_image_cdn_eligible, ghbo_static_cdn_enabled, ghbo_related_posts_show, ghbo_related_posts_count, ghbo_related_posts_heading, ghbo_related_posts_fill_recent, ghbo_disable_comments_post_types.

== Changelog ==

= 1.1.0 =
* Added: "Center related posts on the page" option (on by default) - tiles share the row evenly and short rows are centered instead of sitting left-justified
* Added: plugin name and version number shown at the top of Settings > Blog Optimize

= 1.0.0 =
* Initial release
* Site accelerator: Photon image CDN via core image filters (attachment src, srcset, content img tags) with resize/fit, ssl=1 and a single preconnect
* Site accelerator: core CSS/JS served from c0.wp.com on public WordPress releases via script_loader_src / style_loader_src
* Related posts: Jetpack-style tiles with optional heading and 350x200 thumbnails, cached with automatic invalidation
* Discussion: comments and pingbacks disabled on posts, existing comments and comment feeds hidden
* GHPDM update checker wired to garryheath.com

== Upgrade Notice ==

= 1.1.0 =
Adds a centered layout option for related posts and shows the plugin version on the settings page.

= 1.0.0 =
Initial release.
