Good Morning All,
I have created a different background and a few other images for certain pages within our site. Currently the below code is working well with the "kids" page on our site.
<body<?php if ( is_page(array('kids'))) {
echo ' class="kids" '; } ?>>
I am trying to figure out how to go about adding that same CSS to other pages"under" the kids page. So if you go to kids/block-party, how would I go about adding it to the code to call that special CSS?
I have tried the below
<body<?php if ( is_page(array('kids, kids/block-party'))) {
echo ' class="kids" '; } ?>>
the comma does not seem to register for some reason.
This is a wordpress run site.
Thanks