Hi,
I've just started digging into using hooks and filter and it's been quite the rocky road.
I'm trying to add a include to just the homepage of my theme. I need the hook function to contain the include as well as some html.
Right now the include is showing up on every page and when I try to make it just show up on homepage I get the frustrating blank screen.
Below is my code:
function gallery_include() { ?>
<?php include (STYLESHEETPATH . "/gallery.php"); ?>
<?php }
add_action('thematic_abovecontainer','gallery_include');
What do I need to add?
Thanks