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

Mor Koshokaro
Mor Koshokaro
5,466 Points

bootstrap nav walker not working with archives :<

Hi I'm building a bootstrap Wordpress theme And i'm using a custom post type called "Websites" for my portfolio. Each post contains info about a website i've built (carousel, images and stuff). When i view the single-websites.php on the site the menu bar is showing perfectly. But when i'm showing the archive page (archive-websites.php) the menu bar is showing but instead of items there's a <ul> with empty <li>'s I suspect it's the bootstrap nav walker's fault but I didn't find anyone with the same problem

*NOTE: the bootstrap files are loaded in the site the right way in functions.php as shown in the tutorials. the navigation code is in header.php and the site works like charm other than that. I've checked that I implemented the nav walker the right way in github. as far as i know, it should work.

THE SITE: http://internet-builder.com/websites (the archive) http://internet-builder.com/websites/business (a working single websites) the site is in hebrew

PLEASE HELP ME THANK YOU :)

john elliott
john elliott
321 Points

Did you get a solution to this? - I have the same problem!