ThemeShaper Forums » Thematic

page in sidebar but not in top navigation?

(2 posts)
  • Started 11 years ago by fabbio
  • Latest reply from Chris
  • This topic is not resolved
  1. fabbio

    Hello, maybe this is totally stupid, but is it possible to have a page shown in the sidebar but not in the navigation?

    Posted 11 years ago #
  2. Hi,

    you can use the following code in your child theme's functions.php:

    function childtheme_menu_args($args) {
        $args = array(
            'show_home' => 'Home',
            'sort_column' => 'menu_order',
            'menu_class' => 'menu',
            'exclude' => '100',
            'echo' => true
        return $args;

    Change the '100' to the pageID or IDs (comma separated) you want to exclude.

    To display the exluded page(s) in your sidebar you can use Flexi Pages Widget



    Posted 11 years ago #

RSS feed for this topic


You must log in to post.