I want to conditionally add a body class depending on what template is being used. I can’t figure out why the following code is not working… function damsonhomes_body_classes( $classes...
  • May 21, 2022
  • 0 Comments
I have created a radio button field with ACF so that admin can specify a colour. E.g: blue : Blue pink : Pink I’d like this to be output...
  • May 13, 2022
  • 0 Comments
I want to add styles to editor-style.css, based on the category the current post belongs to. Therefore I would like to add the post classes – using get_post_class() –...
  • May 9, 2022
  • 0 Comments