Site logo

Archived topic

Need to Display All Categories on Homepage Container

11 replies · Started by Piyush on January 11, 2023

Viewing posts 1–12 of 12

Hi Piyush,

Here's one approach.

First, create a Block Element - Hook. Hook it first to after_header (You can change this to a different location anytime). Then, set the display rule location to your preference.

In the editor, add a WordPress Category List Block. Once you've added this, provide the link to where we can see it, and we'll help you with the CSS needed to alter its design.

You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

in the editor , what code i need to add , how to add wordpress Category List Block here in hook ? how can i show you ? i creating it on localhost, website is not live yet

Hi there,

if the home page is a static page, then instead of using the GP Eleemnts, simply add the WordPress Category List Block. in the page editor

Mam Ying , had you checked the video link that i mentioned on my last reply , i know what the wp category list block, but i need to display categories in the same format on this video you can check also here : https://watch.screencastify.com/v/RMdYWkFrRS3WkgQB3qds

Can you link me to what you have so far with the category list block inserted?

It will likely require a custom CSS solution and we can only point you in the right direction here as it's GP related question.

This archived topic is closed to new replies.