Cat-item set on main page

Hi, how to set which category are display in the post header? It’s random now at my site anyway.

Hi @vabes,

I hope you are well today and thank you for your question.

You have ti develop custom code to achieve this as developed in the following topic for similar functionality but not same.

https://colorlibsupport.com/t/category-above-post-varies/

Best Regards,
Movin

Hi
Big thanks for your reply, but this not really resolving my problem.
I don’t want to set primary category displayed, i want to set child category name displayed.

For example: Category tree looks like this

  1. (Primary)
    -1A (Child)
    -1B (Child)
  2. (Primary)
    -2A (Child)
    -2B (Child)
    -2C (Child)

And now my post have this categories: 2. and 2A and 2C and i want to display 2A category name.
In post edition i can set primary category personally for the post, but in not changed on homepage.

Could you help me with that?

As said above You have to develop custom code to achieve this and the topic shared contains the code for similar functionality but not same so use that code only for reference purpose.

Developing custom code for custom functionality is beyond the scope of support that we provide here.

If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Colorlib recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5