I am working on a quick wordpress website to manage content for a friend's business. I usually use sandbox for my paid jobs, but this time I figured i would try something different because sandbox isn't officially supported. I read that the classic theme is pretty close to a good start so i went with it
Anyways, there is a BIG question in my mind. WHERE DO THEY CALL THE SIDEBAR FROM?
I look in the theme files and I see the functions.php code to generate the sidebars, and the sidebar.php to actually build it.. then I intend to see a call for sidebar.php or get_sidebar in the page template or index.php page.
I do not see that there.
So where is the sidebar called from and how can I create a conditional sidebar or different sidebars for different pages?
<?php
/*
Template Name: home
*/
get_header();
?>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="storycontent">
<?php the_content(__('(more...)')); ?>
<div id="mainContent">
<img src="/wp-content/themes/classic/images/comps/family.jpg"/>
</div>
</div>
</div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php get_footer(); ?>