I’m trying to add an image to the top of a few pages using the genesis_before_loop hook. In order to do this, I need to use an “if(is_page” conditional function. I can see how to do this on the blog page and on individual pages that I created.
For example, this would place the image on page ID 7 if(is_page(7)), and this would place it on the blog index page
if(is_home()).
But I didn’t create the “Events” page for the calendar, so am uncertain how to call it in a function.
Do you have any ideas?