- This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by
Fernando.
-
AuthorPosts
-
December 19, 2022 at 5:41 pm #2467643
Charles
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.
December 19, 2022 at 6:07 pm #2467654Fernando Customer Support
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/December 19, 2022 at 6:41 pm #2467666Charles
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?
December 19, 2022 at 7:11 pm #2467680Fernando Customer Support
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.
-
AuthorPosts
- You must be logged in to reply to this topic.