| 开发者 | herovibes |
|---|---|
| 更新时间 | 2026年10月30日 20:48 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Post Title, Post Featured Image, Post Author, Post Date, Post Terms, Comments) from the page. No CSS tricks, no empty boxes.<title> tag and social sharing tags keep the real title because the filters are attached after the <head> is printed.htam_should_hide filter: ( bool $hide, string $element, int $post_id ).htam_selectors filter: ( string[] $selectors, string $element ) to tune the CSS fallback.htam_elements filter: add or change elements, their blocks and selectors._htam_hide_title, _htam_hide_featured_image, _htam_hide_author, _htam_hide_date, _htam_hide_terms, _htam_hide_comments. Values: 1 hide, 0 show, empty = inherit the post type default./wp-content/plugins/ or install it from Plugins > Add New.Your theme probably uses an unusual class name for the title. Go to Settings > Hide Title & Meta > Extra CSS selectors and add the selector your theme uses (right-click the title, Inspect, copy its class). You can also hook the htam_selectors filter.
No. Menus, page lists, breadcrumbs and widgets keep the title. Only the title printed in the page's own header is hidden.
No. The <title> tag and the Open Graph / Twitter tags keep the real title.
Yes for the single-post template widgets that call the standard WordPress template tags (title, featured image, post info). Builders that print their own HTML outside those functions may need an extra CSS selector (see above).
The options apply to the item's own page (the "singular" view). Archives, search results and the blog index are left untouched on purpose.
Yes. In Settings > Hide Title & Meta, tick Title in the Page row under Hidden by default. Any page can still show its title again from its own editor panel.
No. Hiding the comments removes the comment list and the form from the page, but the post stays open to comments: a request sent directly to wp-comments-post.php is still accepted. To stop accepting comments, untick Allow comments in the post's Discussion settings (or disable them site-wide in Settings > Discussion).