Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress WordPress Theme Development Finishing Your WordPress Theme Adding Widget Areas to a WordPress Theme

shareyourpeace
shareyourpeace
3,244 Points

My Sidebar Does show up on my Blog page but Not on my when I click uncategorized - Archives.

http://imgur.com/KKObaCW

The screenshot is 2 windows in ChromeDevTools.

  1. top. magnifying class selected 'sidebar'
  2. bottom. magnifying class selected 'uncategorized' Maybe this helps identify what I missed in my coding. thanks

sidebar.php

<!-- Secondary Column -->
<div class="small-12 medium-4 medium-pull-8 columns">
<div class="secondary">
        <h2 class="module-heading">Sidebar Setup</h2>
                <h2>is this showing up in the sidebar ? </h2>

</div>
</div>

same as page-sidebar-left.php

<!-- Secondary Column -->
          <div class="small-12 medium-4 medium-pull-8 columns">
            <div class="secondary">    
                <h2 class="module-heading">Sidebar</h2>
            </div>
          </div>

home.php (blog)

          <!-- Secondary Column -->
          <div class="small-12 medium-4 medium-pull-8 columns">
            <div class="secondary">    
                <h2 class="module-heading">Sidebar</h2>
            </div>
          </div>

archives.php

<?php get_sidebar(); ?>

What am I missing ?

1 Answer

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi,

Both of the links in the URL seem to point to /blog. Can you post the full code from your home.php page and your archives.php.

Thanks!