I have been developing a theme for WordPress for a couple of days now using Starkers Blank Theme.
I have been using the starkers utilities to insert template parts. I discovered a problem when I tried to load to parts after each other.
When I run this code, it only ever displays the sidebar. Strangely, if I set them to call the same part twice. It displays how you would expect. The other strange thing I found was that if I load them the other way around. It also displays how you would expect. I believe it may be something to do with my html-sidebar.php file which simply contains this:
“< ?php wp_sidebar(); ?>“
My sidebar.php file contains nothing but HTML.
I was not sure if this was the correct way to call the sidebar.php, however it seemed to work. Does anyone know a solution to my problem.