Posts from one top level category on homepage

Hi,

We want to set up homepage to show only top level category. Let say category structuer is

vehicle
— car
— truck
— others

suiting
— cloth
— gloves
---- other

We want to show only posts from vehicles ( even when car is selected but not top level ). how can we do that?
I tried pre-post add_action but it hurts pagination count.

Another issue is, we want to show only one blog post from another category on the top of the content area at homepage.

Hey @ Funkweb,

I am actually not certain what you are trying to achieve. Do you mean having the structure in the main menu? if that’s the case, you can add the vehicle as a Categories menu item and you can add it again but change the menu item label to car, truck, etc.

In case you are referring to a different structure, please provide us more information so that we can give some suggestions.

Thank you.

Hi,

It is not what i am looking for. let me rephrase it.

Please check screenshot https://screenshots.firefox.com/78ss59RDtc3Y74Zc/www.kunnskapsbanken.net

it is homepage showing featured post marked as 1 from let’s say category 1.

remaining blog posts are from category 2.

the given site is also using theme x. how can i achieve it?

Thanks

Hello @FunkWeb,

Thank you for the clarifications.

To achieve what you have in mind, please create a new page called “Home”. Go to Settings > Reading and set the newly created page as your Home page. Edit the homepage in Cornerstone so that you can create section, rows and columns. When your column structure is ready, you can insert Classic Recent Posts element in the respective columns.

You can make use of the category option in the Classic Recent Posts element so that you’ll achieve the category structure that you have wanted.

Hope this helps. Kindly let us know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.