Forum
How do include Blog in main navigation with working "current_page"
I am using perch_pages_navigation to generate my website's navigation bar but it doesn't include a link to the Blog. I tried adding a page in Perch pages admin, and although I can add a link to the main blog page this way, the "current_page" attribute doesn't work, plus it's a bit confusing for the content editor as clicking on "Blog" in the Pages admin does not go to the same place as Apps > Blog. How do I get this to work?
That's how you get it to work. Make sure your pages appear in the Pages list.
Hi Drew,
Just to clarify, I am using
in my navigation. This does not work with the added blog page.
Figured it out - I had put the path as /blog/ when I needed to have it as /blog/index.php