• On index and category pages, the theme shows a category assigned to the post, but if you assign the post to multiple categories, it shows the first child category instead of the main category. How can we fix that?

    Example:

    https://shoppers.dk/

    Post called “SuperDry” has the following categories:

    – Mode
    – – Accessories
    – – Herremode
    – – Damemode
    – – Sko, Sneakers & St?vler

    But the grid view only show the first child category: “Accessories”. I would rather have it show “Mode” or be able to assign best fitted.

Viewing 1 replies (of 1 total)
  • Hello @spkt,

    I don’t think that there is an easy way to do that, but you can check row 16-21 in content.php file if you want to experiment with that function yourself.

    Kind Regards, Roman.

Viewing 1 replies (of 1 total)
  • The topic ‘Show main category’ is closed to new replies.