How to create a custom block theme template based on a post category?

A post template for posts of a particular category has never been part of the template hierarchy. single-map.php would only work for posts that belong to a “map” custom post type, not a “map” category.

If you want the entire template to be editable in the Site Editor, you would create a single-map.html file in the templates/ directory. If you don’t want template editing then you create single-map.php file the way you previously did.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)