WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Hide Title

Version: 1.0.3 Allows authors to hide the title on single pages and posts via the edit post screen.

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.

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-10-14
Downloads: 62,293

Ratings

4 stars
4.7 out of 5 stars

Support

1 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,4,4
100,2,2
100,1,1
100,7,7
100,2,2
50,4,2
100,2,2
100,2,2
33,3,1
100,3,3