這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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. Activate the plugin through the ‘Plugins’ menu in 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.

使用者評論

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.
2019 年 5 月 23 日
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!
2019 年 4 月 25 日
Dosen't work with WP 5.xx nor can the plugin be deleted again. The only way to delete this plugin is manually delete the folder with FTP
閱讀全部 87 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Hide Title〉的開發相關工作。

參與者

將 Hide Title 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.