Site logo

Archived topic

Category Archive Settings (like Genesis) in GeneratePress

3 replies · Started by Charles on December 19, 2022

Viewing posts 1–4 of 4

I am converting another site from Genesis to GeneratePress. Genesis has a backend area when you edit a category to allow you to add a headline and intro text. The intro text area is you can add just like content on a blog or page. The site has many category pages that act like hub, they have the content shown first and then the category posts below. Is there a way to add this to GeneratePress? If I switch back to the child theme of Genesis the content appears in the wp category backend (see image here) if then I switch back to the child theme of GeneratePress that area and information is gone.

Hi Charles,

Those fields seem to be custom fields added by Genesis.

The way to add such a field normally would be through a plugin called ACF: https://www.advancedcustomfields.com/resources/getting-started-with-acf/

Once you've added a custom intro field through ACF, you can use a Block Element - Page Hero and a GB Headline Block to retrieve the custom field.

References:
https://docs.generatepress.com/article/block-element-page-hero/
https://docs.generateblocks.com/article/headline-overview/

Thx Fernando, I'm familiar with ACF have it already on this site for some other things. That could work, but I would lose all the content already in the database that was added in Genesis. Not the end of the world but considering a few dozen categories hubs will be daunting to copy it over manually.

Is there no way to utilize the fields that genesis already added to the database and pull those into my custom page theme? Or maybe there is another way I am not seeing?

Unfortunately, the easiest and more future-proof way to do it I believe is to manually copy and paste it to custom ACF Fields. In this way, even if you change themes, as long as you have ACF, the fields can be easily added.

Perhaps you can ask Genesis if there's a way to import the field data from their Theme to ACF. If there is none, manually copying and pasting would be the best route.

This archived topic is closed to new replies.