WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] custom pages (2 posts)

  1. bozack
    Member
    Posted 4 years ago #

    i've created a custome wordpress template, and i'd like the pages to have different title headings. i've hardcoded the heading ("whats new?") for the main page, therefore the main page's heading ends up on all the pages (about page, etc).

    how do i have it so that i can change the heading on all pages?

    take a look at it here:
    http://soundbattleroyale.com/blog

    thanks!

  2. bozack
    Member
    Posted 4 years ago #

    nevermind, i actually figured it out somehow...

    but now i'd like it so that the pages don't show up like the blog posts do. how do i change that, so each page is formatted as a blank page?

    my code looks like this

    <td><img src="<?php echo bloginfo('template_directory') .  '/spacer.gif'; ?>" width="1" height="64" border="0" alt="" /></td>
      </tr>
      <tr>
        <td colspan="10" valign="top" bgcolor="#080405"><div id="main">
    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
    <div class="post-item">
    <p class="meta"><?php the_date(); ?></p>
    <h2><a>"><?php the_title(); ?></a></h2>
    <p class="meta2">posted by <?php the_author(); ?> in news</p>
    <?php the_content('Click here to read more...'); ?>
    <div class="numComments">
    <a>"><?php comments_number('0 comments', '1 comment', '% comments'); ?></a>
    </div><!--end numComments-->
    </div><!--end post-item-->
    <?php endwhile; ?>
    
    <?php else :?>
    <p>No Results</p>
    <?php endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic