Title: Hide Title
Author: Dojo Digital
Published: <strong>2012 年 7 月 5 日</strong>
Last modified: 2019 年 5 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/hide-title.svg)

# Hide Title

 作者：[Dojo Digital](https://profiles.wordpress.org/dojodigital/)

[下载](https://downloads.wordpress.org/plugin/hide-title.zip)

 * [详情](https://cn.wordpress.org/plugins/hide-title/#description)
 * [评价](https://cn.wordpress.org/plugins/hide-title/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hide-title/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hide-title/#developers)

 [支持](https://wordpress.org/support/plugin/hide-title/)

## 描述

This plugin allows the author of a post or page to hide the title and it’s containing
HTML element from the single view ( is_singular() ).

## 屏幕截图

 * [[
 * This Meta Box will be added to the Edit screen for pages & posts

## 安装

 1. Upload the `hide-title` folder to the `/wp-content/plugins/` directory
 2. 通过WordPress的“插件”菜单激活插件

## 常见问题

  I upgraded to 1.0.2 and the plugin stopped working. Why?

It is possible that your theme does not have the wp_head function in it’s header.
php file. In general all themes are suppose to have it, and version 1.0.2 looks 
for it to prevent adding bad code to the `<head>` area of the page. If you have 
access to your theme file simply add `<?php wp_head(); ?>` to header.php just before
the `</head>` tag. If not, this plugin will no longer be compatible with your theme.

  Hey! This plugin is hiding things I don’t want hidden!

By default this plugin looks for the `.entry-title` class and hides it. If it doesn’t
find it it will look for any `h1` or `h2` elements that contain the title and hide
them instead. To change the default `.entry-title` selector to something that makes
more sense to you, add the following code to the functions.php file of your current
theme:

    ```
    global $DojoDigitalHideTitle;
    // Be sure to replace ".your-selector" with your selector!
    $DojoDigitalHideTitle->set_selector('.your-selector');
    ```

As noted in the comments, you’ll need to replace the string `.your-selector` with
the css selector you’d like hidden. It can be any valid css selector such as `h1`,`.
myclass`, `#myid`, etc. I recommend using a class or id to avoid accidentally hiding
unforeseen elements.

  I don’t want to edit my theme files, can’t you just add an option page?

I could, but I’d like to avoid adding Yet Another Options Page if I can. If enough
people request it though, I’ll go ahead and bite the bullet.

  Who is the author of this plugin anyway?

This plugin was originally was developed by Randall Runnels of Dojo Digital. In 
March 2015, the plugin was not compatible with the latest version of WordPress. 
After finding the problem, Brandon Kraft reached out with a solution, but didn’t
hear a response. He contacted the Plugins team at WordPress.org with an offer to
assume development to bring it up date. The plugins team reached out and either 
recieved the approval of Randall, did not hear back at all, or the e-mail bounced.

## 评价

![](https://secure.gravatar.com/avatar/9df96c338e51c78069511cab8e06a7cb5768ca6db443f0d4f1727369b040b963?
s=60&d=retro&r=g)

### 󠀁[No funciona](https://wordpress.org/support/topic/no-funciona-121/)󠁿

 [otul](https://profiles.wordpress.org/otul/) 2023 年 5 月 29 日

No funciona no cambia nada

![](https://secure.gravatar.com/avatar/95d46d94e60ec168daff2c03d992221e8ca8f9196929c9c3f7c4339590e34dd3?
s=60&d=retro&r=g)

### 󠀁[Не корректно работает с WordPress 6.1.1](https://wordpress.org/support/topic/%d0%bd%d0%b5-%d0%ba%d0%be%d1%80%d1%80%d0%b5%d0%ba%d1%82%d0%bd%d0%be-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82-%d1%81-wordpress-6-1-1/)󠁿

 [dem1an](https://profiles.wordpress.org/dem1an/) 2022 年 12 月 5 日 1 回复

Галочка “Hide Title” постоянно слетает либо отображается (установлена), но при этом
заголовок на сайте отображается.

![](https://secure.gravatar.com/avatar/5c33d663bbd4976fd54fceaa0e97024ee15c7f524e2a385e90c4d6cc117fc555?
s=60&d=retro&r=g)

### 󠀁[Finally One that Works!](https://wordpress.org/support/topic/finally-one-that-works-21/)󠁿

 [Michael.Melendez](https://profiles.wordpress.org/michaelmelendez/) 2020 年 2 月
17 日

I use a Catch Theme. Only plugin that worked that didn’t have any lag.

![](https://secure.gravatar.com/avatar/b1414cecf5e37c95ec3c5ab02daab45f12641d349d3b128c2719ce3afd71602e?
s=60&d=retro&r=g)

### 󠀁[Szuper plugin](https://wordpress.org/support/topic/szuper-plugin-3/)󠁿

 [rnorbert83](https://profiles.wordpress.org/rnorbert83/) 2019 年 12 月 1 日

Kiváló segítség!

![](https://secure.gravatar.com/avatar/382bb9314f6caeb39bc21b1442d37a6970899c2907e1c5bbe639ac04c0261a0e?
s=60&d=retro&r=g)

### 󠀁[Does NOT WORK](https://wordpress.org/support/topic/does-not-work-1093/)󠁿

 [patriciaburnette2018](https://profiles.wordpress.org/patriciaburnette2018/) 2019
年 7 月 2 日

I just heard about this trying to find a way to hide some pages from the wp site
because there are just way to many in navigation bar, so I said wow hmmm nice idea.
WRONG it’s activated and showing in Hide ALL plugins but it’s nowhere to be found
to be able to use it on any pages… removing it, it’s not worth my time to try to
find a needle in a hay stack. Just sent them an email but read their requests was
gone unattended so, I came here.

![](https://secure.gravatar.com/avatar/846202866c6befc558de9f8b4f08c02956a07b3a918935eca944e7e9482b8c6c?
s=60&d=retro&r=g)

### 󠀁[Worked Partially – Not All Areas](https://wordpress.org/support/topic/worked-partially-not-all-areas/)󠁿

 [gotpang](https://profiles.wordpress.org/gotpang/) 2019 年 5 月 23 日 1 回复

I find this plugin to be very beneficial. Hopefully as the updates happen, it addresses/
fixes some of the issues. I can say it does work on WP 5.2.1 (I’m using it on my
site now). It seems to work fine on manually created pages on Wordpress, but for
other extensions – not so much, for example, WooCommerce. The option shows to hide
the title, however when I visit one of the WooCommerce created pages (ie. Store),
the title remains shown. I can’t speak on the un-install aspect, as I plan to keep
this. Hopefully the developers continue with the updates for us. Thanks!

 [ 阅读所有87条评价 ](https://wordpress.org/support/plugin/hide-title/reviews/)

## 贡献者及开发者

「Hide Title」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Dojo Digital ](https://profiles.wordpress.org/dojodigital/)
 *   [ Brandon Kraft ](https://profiles.wordpress.org/kraftbj/)

[帮助将「Hide Title」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hide-title)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hide-title/)，查看[SVN仓库](https://plugins.svn.wordpress.org/hide-title/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/hide-title/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hide-title/)。

## 更新日志

#### 1.0.8

 * Fixed Deletion Error
 * Removed WP-Updates
 * Added a body class of dojo-hide-title

#### 1.0.6

 * Tested New Update Functions for future releases

#### 1.0.5

 * Fixed Deletion Error
 * Added WP-Updater Support

#### 1.0.4

 * Now compatible with latest versions of WordPress
 * PHP 4 is no longer supported.

#### 1.0.3

 * Fixed a jQuery bug which prevented fallbacks in the case that the selector was
   not found.

#### 1.0.2

 * Added logic to flag when wp_head has run to prevent changes being made to the
   title in the >head< area.
 * Fixed a bug that caused multiple meta field entries.

#### 1.0.1

 * Changed the jQuery to use a less brute force method of hiding the title.
 * Added a set_selector() method to allow end-users to specify the css selector 
   to hide.

## 额外信息

 *  版本 **1.0.8**
 *  最后更新：**7 年前**
 *  活跃安装数量 **30,000+**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  语言
 * [English (US)](https://wordpress.org/plugins/hide-title/)
 * 标签
 * [title](https://cn.wordpress.org/plugins/tags/title/)[wp](https://cn.wordpress.org/plugins/tags/wp/)
 *  [高级视图](https://cn.wordpress.org/plugins/hide-title/advanced/)

## 评级

 3.7 星（最高 5 星）。

 *  [  53 条 5 星评价     ](https://wordpress.org/support/plugin/hide-title/reviews/?filter=5)
 *  [  5 条 4 星评价     ](https://wordpress.org/support/plugin/hide-title/reviews/?filter=4)
 *  [  3 条 3 星评价     ](https://wordpress.org/support/plugin/hide-title/reviews/?filter=3)
 *  [  4 条 2 星评价     ](https://wordpress.org/support/plugin/hide-title/reviews/?filter=2)
 *  [  22 条 1 星评价     ](https://wordpress.org/support/plugin/hide-title/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hide-title/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hide-title/reviews/)

## 贡献者

 *   [ Dojo Digital ](https://profiles.wordpress.org/dojodigital/)
 *   [ Brandon Kraft ](https://profiles.wordpress.org/kraftbj/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hide-title/)