Support » Fixing WordPress » how to have pages with different main navigation

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Create seperate template pages and then have them also call some kind of custom header.php

    http://codex.wordpress.org/Templates
    http://codex.wordpress.org/Stepping_Into_Templates
    to start with.

    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(); ?>">
        <div>
          <h2><b>
            <?php the_title(); ?>
          </b></h2>
        </div>
       <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')); ?>
        </div>
      </div>
      <?php endwhile; endif; ?>
      <div>
        <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
      </div>
    
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to have pages with different main navigation’ is closed to new replies.