Archived topic
Hide posts from category archive page
5 replies · Started by generatepressiscool on July 30, 2020
Hello!
I'm trying to set the category archive page to look like just a regular post.
I've installed a plugin called Category Editor that allows to use the regular editor and style the description as it would be a post, but I would like to hide all posts from the category archive page, since I'm already handling that with a sidebar etc.
Hi there,
at this time you would need to create your own archive.php in your child theme.
You can use the themes original template and remove the loop highlighted here:
GP 3.0 will introduce a way of removing / replacing template content without a child theme.
Hi David!
Thanks for the quick response.
I already have a GeneratePress Child theme, but it only has a stylesheet and functions.php.
To create archive.php I would have to manually create the file via ftp, correct?
Thats correct. You can copy it from the Parent theme or from the github i linked too.
Thank you!
You're welcome