Support » Fixing WordPress » How to include Twenty eleven sidebars on 404
4 years, 5 months ago
How can I include sidebars in the default 404 page?
(Working locally, using Twenty Eleven – a child theme.)
I read this: http://codex.wordpress.org/Creating_an_Error_404_Page
and it wasn’t useful.
I’m using two columns, right and left, for which I have “theme support” – so they’re normally activated when I click on “sidebar template” while writing a post.
But the 404 page doesn’t appear in admin and so I just edit it with notepad ++. But this: <?php get_sidebar(); ?> does nothing if I drop it in…
<?php get_sidebar(); ?>
There’s another way to call it because there’s a function for the extra sidebar in my functions file…