Thread Starter
bcdo
(@bcdo)
I figured out the solution to this. For the benefit of others, include the following file into the non-wordpress driven file:
include(‘blog/wp-load.php’); // change blog/ to your actual path
Then put this where you’d like for the sidebar to appear:
<?php get_sidebar(); ?>
Then be sure to style the #sidebar, #searchform, and #s elements in your CSS.
It might have been easier to just create the page in WordPress, but for various reasons I didn’t want to do that.
Anyhow, that’s how.
Now, I’d really love to call specific functions that correspond to each widget section (I.e. I’d like to exclude some parts of the sidebar on this particular page but have them all still appear in the blog), but I haven’t figured that out yet, and we’re using plug-ins like SimpleTags, too.