I'm totally a rookie in PHP so I'd surely appreciate some help here.
I have template.php which has the structure of header, main-content, sidebar and footer. within main-content I have a div with a unique id, say #content-fill.
Is it possible using php to include php files into my template.php by targeting the #content-fill div? For instance, I create blog.php and include template.php. then within template.php I get the #content-fill and include a blog-content.php file?
Here is my attempt: :winktongue:
<?php include("template.php"); ?>
//php code to include blog-content.php within the #content-fill in template.php
Thanks in advance.