wordpress pages |
wordpress pages |
*incoherent* |
![]()
Post
#1
|
Guest ![]() |
i found out how to make wordpress pages, but the default page.php layout that comes with wordpress doesnt show my header no many how many time/how i edit it.
i'm trying to use a title 2 from my header code for it, but it wont show up. i even tried to add the h2 to my header since that's what it uses in the default layout, but that wont work either. can someone help? |
|
|
![]() |
*incoherent* |
![]()
Post
#2
|
Guest ![]() |
<?php get_header(); ?>
<div id="content" class="narrowcolumn"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entrytext"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> i know i dont have the area for the include blog and the include header, but ive added those and it still didnt work. this is just the default that comes with it when you upload it. and i'm trying to get the title of the page that your type in at the top before typing the content to be the same as the date on each layout. toya, if you want, ill give you my password sometime. |
|
|
![]() ![]() |