Site logo

Archived topic

Sections and Blog archive

3 replies · Started by _blank on August 9, 2018

Viewing posts 1–4 of 4

Hi, I noticed that it's not possible to add sections on the page with posts archive, right? Or it can be somehow?

Hi there,

You are correct - unfortunately Sections cannot be used on index pages (posts, archive etc).

What are you trying to add? GP Hooks with conditional tags might be what you are looking for
https://docs.generatepress.com/article/hooks-overview/
https://docs.generatepress.com/article/using-hooks-conditional-tags/

Keep in mind that GP hooks will soon be replaced with Hooks Elements so you won't have to write the PHP code anymore:
https://docs.generatepress.com/article/hooks-element-overview/

We are currently in release candidate so it should be decently stable if you want to start using it:
https://docs.generatepress.com/article/beta-testing/

Let me know if this helps :)

Hi Leo,

ok thanks, I'll use hooks then, I wanted to ass some Toolset views.
But will the old hooks work after update? Will they be preserved at all?

The old hooks module will still be there if you have content in there.

However I would highly recommend wait until Monday or becoming a tester unless you don't mind migrating after 1.7 is released.

This archived topic is closed to new replies.