Modifying posts based on category in TwentyTwentyTwo theme
I managed to solve my problem. So, the posts are using a single.html template file (in the TwenytTwentyTwo theme: /templates/single.html). I wanted to target a category class in the <body> element of the single.html. To make that happen, I had to modify the single.html file in my Child theme by adding the following code snippet … Read more