Ready to get started?Download WordPress


how to have pages with different main navigation (3 posts)

  1. bmackler
    Posted 3 years ago #

    How can I have an alternative main navigation show up on specific pages instead of the default nav bar... not in addition to, but instead of?

    not sure if this is a hack or what, but I cant imagine this should be so hard. is it just me?

  2. webjunk
    Posted 3 years ago #

    Create seperate template pages and then have them also call some kind of custom header.php

    to start with.

  3. bmackler
    Posted 3 years ago #

    thanks, I got it up and going, problem is the content is nto formatted, paragraphs, sizing...

    I seem to be missing the proper style...here is my code, not sure whats wrong....

    <div id="content" style="display:block;float:left;padding-left:50px;padding-top:20px;">
      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      <div id="post-<?php the_ID(); ?>">
            <?php the_title(); ?>
       <p><br /><p> <div>
       <?php the_content('<p>Read the rest of this page &raquo;</p>'); ?>
          <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
      <?php endwhile; endif; ?>
        <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.