Remove Page Title While Keep Post Title

Hello

I’m using the travelify theme and I follow the instruction here https://colorlibsupport.com/t/how-to-remove-page-title-from-travelify/ and remove the page titles.

However, the titles of the posts were gone as well. How do I add them back?

I found the same question here, but the code doesn’t work. https://wordpress.org/support/topic/no-post-title-on-blog

Hi @yuchun423,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Travelify Other Options

body.page .entry-title {
    display: none;
}

Best Regards,
Movin

Hi @Movin,

I tried, but it’s not working…

I want to see each post’s title in the blog url “domain.com/blog” and I want to hide page titles.

Below is my current custom code, can you guide me?

.page .entry-title {
    display: none;
}
.entry-meta {
  display: none;
}
.page-title-wrap .page-title {
    display: none;
}
.featured-content {
    display: none;
}

body.page .entry-title {
    display: none;
}

Please try using the following CSS code which is working fine on my test site.

body.blog .page-title,
body.archive .page-title,
body.page .entry-title {
    display: none;
}

If it’s not working for you then could you please share me your site URL where it’s happening so that i can troubleshoot it?

Hi @Movin,

Still not working… Below is my current css code

.entry-meta {
  display: none;
}
.featured-content {
    display: none;
}
body.blog .page-title,
body.archive .page-title,
body.page .entry-title {
    display: none;
}

I haven’t launch my website yet. Can you go to http://guningtou.encounteredgroup.com/wp-admin/ and use username “atchih” and password “UmH)8M04iF)PIVB%xkfYb(sY” and click “visit site” to check it for me?

Right now I’m getting opposite effect. I want it shows “test title 1” and “test title 2” and don’t show “Blog” on the top of the page.

Thank you so so much!

Thanks for sharing your site URL.

Please try using the below CSS code.

.page-title {
    display: none;
}

Hi @Movin

Thanks so so much for such a swift reply! It worked!

However, my other pages’ title pop up. Is there any way to remove other pages’ title on the top left corner of the page at the same time, while keeping the blog post titles?

Thanks a lot again!

Try using the below CSS code to achieve this.

.page-title,
body.page .entry-title {
    display: none;
}