TEMPLATEPATH
Today I ran into an interesting problem while developing a BuddyPress theme. I was attempting to include a custom sidebar using PHP’s “include” function. The WordPress codex page on “include tags” gives us this: <?php include( TEMPLATEPATH . ‘/sidebar-index.php’ ); ?> The problem is that the above code doesn’t always work when you are utilizing…
Read More