Opt-in Post Hero
Reusable WordPress per-post hero controls for UiCore layouts.
by David Leimroth · github.com/davidleimroth/wordpress-opt-in-post-hero · website
★ 0stars
4release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/davidleimroth/wordpress-opt-in-post-hero/releases/download/v1.1.0/opt-in-post-hero-1.1.0.zipDeclares an update source (https://github.com/davidLeimroth/wordpress-opt-in-post-hero), so updates arrive through the plugin's own updater.
From the readme
Opt-in Post Hero
A small WordPress plugin that adds two per-post controls and stable post URLs:
- use the featured image as the post hero background;
- compact the post header on mobile;
- publish posts at /blog// and permanently redirect their existing dated URLs.
Both visual options are disabled by default. The URL behavior applies to posts automatically. The plugin does not replace templates, modify post content, change the stored permalink structure, or flush rewrite rules.
Compatibility
- WordPress 6.5 or newer
- PHP 8.0 or newer
- Themes that use UiCore's .uicore-page-title post-header structure
- A dated post permalink structure such as /%year%/%monthnum%/%day%/%postname%/
The URL handling uses WordPress hooks and is independent of the active theme. The CSS is narrowly scoped to opted-in single posts. If a future theme update changes the expected selectors, the custom styling stops matching without altering stored content or templates.
Installation
1. Download the release ZIP.
2. In WordPress, open Plugins → Add New Plugin → Upload Plugin.
3. Upload the ZIP and activate the plugin.
Usage
Edit a post and open the Post hero panel. Enable either visual option independ
Read the full README on GitHub →