Site logo

Archived topic

Remove post title from the archive page

10 replies · Started by Hasan on May 16, 2019

Viewing posts 1–11 of 11

I am trying to display the archive pages as an image gallery, so need to show only the featured images for each posts, and remove everything else. I was able to disable everything from the archive pages using the customizer, but can't get rid of the post title.

Please let know how to remove post title from the archive pages.

Thanks!

Hi there,

if you want to remove the markup for it then it would require a child theme, Tom explains here:

https://generatepress.com/forums/topic/hide-content-title/#post-786670

The alternative is to use CSS:

.generate-columns-container .entry-header {
    display: none;
}

.generate-columns-container .inside-article {
    padding-bottom: 0;
}

.generate-columns-container .post-image img {
    vertical-align: middle;
}

Is it possible to remove the post title on the archive pages without copying the content.php to the child theme and modifying the file? I do not want to do that because in future if the actual file changes, I'll have an outdated file on the child theme. Don't want to use the CSS to hide the title either because of SEO issue.

It would be so nice to have an option in the disable element to turn off the title and metadata on the archive pages and remove the bottom padding, which will enable GP to use as a nice photography theme without doing any customization. Where can I request this feature?

Best regards,
Hasan

As of right now it's not possible without a child theme, but I agree it would be a useful feature. I'll see what I can do :)

Thanks Tom! Looking forward to see this feature on the next release, since this is a small feature to integrate.

No problem :)

I would also like that option.

Hi Tom,

Is it possible to do this with the latest version of GP?

Thanks!

Awesome! Thanks for listening!! :)

No problem! Glad it's useful :)

This archived topic is closed to new replies.