Site logo

Archived topic

Home Page Error

17 replies · Started by Jackson on February 12, 2023

Viewing posts 16–18 of 18

Hi Jackson,

Yes, opening a new topic will be preferred.

The page you attached is an archive page, it's an index page, so there's no static page to be edited.

If you want to customize the look of the archive, you can either use a block element - content template or a block element - loop template with Query loop block.

I have created a new one but it seems to keep displaying the old one. How can I turn the old one off?

Hi there,

to cover some basics:

Pages such as Category and Tag archives are not regular pages. So they cannot be directly edited, as they are the result of a dynamic query that gets displayed using a theme template.

In GeneratePress Premium you can rebuild that template using a Block Element.

1. in Appearance > Elements --> Add New ---> Block Element.
2. set the Element Type to: Loop Template

https://docs.generatepress.com/article/block-element-loop-template/

3. set the Display Rules > Location to: All Archives

4. Now in the block editor add a Query Loop Block. In the Query Loop Blocks settings check the Inherit Query from Template

5. Publish that element.

Now when you view that category page it will use your block element loop template.
Edit the Loop template to how you want.

This archived topic is closed to new replies.