Quote:
Originally Posted by Gargoyle
The get_sidebar() function exists in template-functions-general.php. It's only job is to load the sidebar.php template from your chosen theme (or the default theme if your theme does not have a sidebar.php).
I would also say that the call to this function should be outside "The Loop" otherwise you would have 1 sidebar for each post in your blog!
This same file also contains the_time() function.
|
Yup, get_sidebar() is a convenience function that just does a PHP include for the sidebar file in your theme directory.