Archived topic
Archive and category
7 replies · Started by Thierry on September 27, 2019
Hello,
i think that's easy but i don't found the solution.
How i can dysplaing a different category with a custom layout ?
In the folder /generatepress_child i copy archive.php and after ? i copy how i can linking to category 1 and category 2 ?
Thx
Hi there,
What custom style are you looking for? You might be able to use this filter:
https://docs.generatepress.com/article/option_generate_blog_settings/
Let me know if we are on the right track :)
thx but i don't want use the gp layout, i have my layout but for displaying one custom layout for category1 and one other for category2 i don't know.
Hi there,
maybe this article will help:
https://developer.wordpress.org/themes/basics/template-hierarchy/#Category_display
Thanks David, that's right in fact i over-complicate it :)
Glad to be of help
Hi
I created a child theme using the Child Theme Configurator plugin, do I need to copy all the files from the parent theme to the child theme?
I am trying to put shortcodes in the different category pages, but I do not see a category.php file in GP, is it the archive.php file that I copy into my child theme?
Thanks
Any chance you can open a new topic for your question?
Thanks :)