Reply To: Title frontpage

Home Forums WordPress Themes – Premium Preference Title frontpage Reply To: Title frontpage

#18272
Sushil Adhikari
Moderator

Removing a title gets a little trickier and WordPress doesn’t make this easy. There’s a few ways to do this:

  1. use a plugin that manages titles (including disabling)
  2. target the page in question with css to disable no title
  3. don’t enter any title in the title field of your page
  4. modify the theme’s template and remove the title (but this disabled it for all pages)

The best way would be to use css. When you view your page source code, your page for the home page has a page ID that gets added to the body tag. In your case, yours has this ID of: page-id-542

So you would add some css to your theme’s style.css file such as this:

#page-id-542 .entry-title {display:none;}

That basically tells your browser not to show the page title (which has a class of .entry-title) on the page that has the ID number of 542. The title will still show in the source code but it won’t be seen by the visitor.

I would recommend you read my tutorial about child themes, because then you can use a child theme to make these kind of modifications to your theme files including the style.css. If you are using JetPack, it has a nice css editor that you can make custom changes to css without using a child theme.