Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

How To Hide Title Of Static Front Page

dommie
Posts: 21
Joined: 29 Sep 11
Trust:

How To Hide Title Of Static Front Page

Hey,

Is anyone able to please help with how to hide the title of a page? I had read that just deleting it isn't good as it wont register on site maps.

Ideally if it didn't mean having to add any code in that would be best for me, as I am a novice and I recently broke my site when trying some code and had to get it all restored.

My reasoning for wanting to do this is I want to have a static front page rather than just a blog post role. I think I want the front page to just be a huge navigation page for my site, rather than focused on a keyword article - is this maybe a bad idea altogether?

Thanks in advance
  • 0
cecille.l
Posts: 6369
Joined: 25 Feb 11
Trust:
Hi Dommie,

You can edit the theme but this will hide the titles of all your pages.

Another option is to leave the page or post title field blank. Then place the actual title within the article and give it an H1 tag.

Hope that helps. Have a good day!
  • 0
Cecille

Building affiliate marketing websites is a breeze: https://www.affilorama.com/affilojetpack
Like us on Facebook: https://www.facebook.com/affilorama
 
dommie
Posts: 21
Joined: 29 Sep 11
Trust:
Thanks Cecille! - I will give that second option a go
  • 0
stevex
Posts: 53
Joined: 28 Apr 14
Trust:
Paste this code in style.css file


add

.entry-header .entry-title {
display: none;
}

And you can also remove it from index.php file
<php the_title(); ?> or the_title();
  • 0
cecille.l
Posts: 6369
Joined: 25 Feb 11
Trust:
stevex wrote:Paste this code in style.css file


add

.entry-header .entry-title {
display: none;
}

And you can also remove it from index.php file
<php the_title(); ?> or the_title();

This might also work, I'm just not sure if it's the same with Affilotheme. I also advise against re-writing or editing the CSS code as that might break the theme on your site.

Any edits on the CSS are also erased during theme updates so be sure to back up any CSS edits before updating the theme.

Have a good day!
  • 0
Cecille

Building affiliate marketing websites is a breeze: https://www.affilorama.com/affilojetpack
Like us on Facebook: https://www.facebook.com/affilorama
 

This topic was started on Jun 03, 2014 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.