Forums

Add Sub Pages to Nav Bar (3 posts)

  1. cpweducator
    Member
    Posted 6 months ago #

    Hello, I'm trying to add some sub pages to the nav bar on my website http://www.rodsnrazors.com . I try the child parent way and it did not work and I tried to use a plugin called "pages children" didn't work. I spent about 3 hour to find a way to do this . Can anyone help? The theme I am using is called firetec. I am trying to add sub pages to the services page.

  2. cpweducator
    Member
    Posted 6 months ago #

    I would also like to add that if you go to the site you can see how the sub pages show up on the side, but not in the nav bar. I am using a plugin called "Exclude Pages from Navigation" because I only want 6 pages to show in the nav bar and use 3 sub pages under services. as you can see what happens when I add the 2 test pages.

  3. cpweducator
    Member
    Posted 6 months ago #

    Here is my header php page if that will help:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" />

    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style_ie.css" />
    <![endif]-->

    <?php wp_head(); ?>
    </head>

    <body>

    <!-- Page -->
    <div id="page">

    <!-- Header -->
    <div id="header">

    <!-- Title -->
    <div id="header-info">
    <h1>/"><?php bloginfo('name'); ?></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>
    <!-- /Title -->

    <!-- Menu -->
    <div id="header-menu">

      <?php wp_list_pages('title_li=&depth=-1'); ?>

    </div>
    <!-- /Menu -->

    </div>
    <!-- /Header -->

    <!-- Main -->
    <div id="main"><div id="main-top"><div id="main-bottom">

Reply

You must log in to post.

About this Topic