Hi All,
I'm a relative newbie to Wordpress but putting in the hours to get up and running. While trying to create a theme from scratch, I have the following problem.
When I create a custom page that I want to call from the index.php, I just can't get the code to appear in the page. For example, I create a file named sidebar-left.php which contains just a simple <p>Test</p>. I then add <?php get_sidebar('left');?> to the index.php but when I refresh the page, there is no sign of the sidebar-left.php code when I view source.
I've noticed that if I place the call to the sidebar-left.php within the code for the default sidebar (named sidebar.php), it appears as expected!
Could anyone tell me why I have problems calling from within index.php?
Incidentally, I already call header, footer, sidebar etc. from index.php and these are all appearing fine.
Please put me out of this misery!
Thanks,
Jeff