WP Manifestindependent plugin directory
manifest / utilities / hide-page-post-title

Hide Page & Post Title self-updates

Hide page or post title in wordpress

by Jason Cox · github.com/jcjason12108-alt/hide-page-post-title · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jcjason12108-alt/hide-page-post-title/archive/refs/heads/main.zip

Ships its own WordPress updater (Plugin Update Checker), so new versions show up under Dashboard → Updates.

Hide Page & Post Title (WordPress Plugin)

Repository: https://github.com/jcjason12108-alt/hide-page-post-title
Requires WordPress Version: 5.8 or higher
Compatible up to: 7.0
Requires PHP Version: 7.4 or higher

Adds a per-post checkbox to hide the theme-rendered title without touching the content you typed in the editor.

  • On block themes, the plugin removes the core/post-title block output.
  • On classic themes, it injects safe, scoped CSS that hides only the theme’s title markup.

Features

  • Adds a “Hide Page and Post Title” checkbox to the editor sidebar (posts, pages, and custom post types).
  • Works seamlessly with block themes (e.g., Twenty Twenty-Four) and classic themes.
  • Leaves headings inside your content untouched — only the theme-generated title is hidden.
  • Cleans up metadata when posts are deleted.
  • Lightweight, no settings page needed.

Installation

  1. Download the release ZIP from GitHub Releases.
  2. In WordPress: Plugins → Add New → Upload Plugin and select the ZIP.
  3. Activate the plugin.

Usage

  1. Edit any post or page.
  2. In the right-hand sidebar, look for the “Hide Page and Post Title” option.
  3. Check the box → Update the post.
  4. The front-end title generated by the theme will now be hidden.

How It Works

  • Block Themes: Filters render_block and removes the core/post-title block entirely.
  • Classic Themes: Enqueues scoped inline CSS and falls back to filtering the current post title when a theme does not use standard title markup. Example:

.postid-123 .entry-title,
.postid-123 .wp-block-post-title,
.postid-123 .page-title { display: none !important; }

This ensures only the theme-rendered title disappears — body content and editor headings remain intact.

⸻

Changelog

1.3.6
    •   Updated the bundled Plugin Update Checker library from 5.6 to 5.7.

1.3.5
    •   Confirmed WordPress 7.0 compatibility metadata.
    •   Raised the declared PHP requirement to 7.4 to match WordPress 7.0.

1.3.4
    •   Renamed the main plugin file to remove the accidental space before `.php`.
    •   Added a legacy loader that migrates active installs to the corrected plugin basename.

1.3.3
    •   Improved post title hiding for themes that render single post titles outside the main loop.
    •   Added more common post title selectors.

1.3.2
    •   Added a the_title fallback for themes that do not use standard title classes or Post Title blocks.

1.3.1
    •   Fixed title hiding on pages and themes that do not use the postid body class.
    •   Added a plugin-specific front-end body class for safer title scoping.

1.3.0
    •   Added GitHub update support with Plugin Update Checker.
    •   Added optional private repository token support.
    •   Added current WordPress and PHP compatibility metadata.

1.2.0
    •   Added safe CSS scoping for classic themes.
    •   Ensures headings inside content are not removed.
    •   Block themes: removes core/post-title output directly.

1.0.0
    •   Initial release with per-post title hiding.

⸻

License

GPLv2 or later — see LICENSE for details.