How do you handle nested slug

Is it possible in wordpress to have a custom page let’s say `/category/game/square-enix`? It is equivalent to `category-{slug}-{slug}.php`. Or if not is there an alternative way to do this?

`/category/game` – Can be styled using `category-game.php`
`/category/game/square-enix` – Can this be styled? If yes what would be the file I tried `category-game-{slug}.php`

The `square-enix` part is dynamic so I should catch all slugs after the `game` slug.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here