Log In · Register

 
wordpress pages
*incoherent*
post May 13 2006, 07:45 PM
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?
 
 
Start new topic
Replies
*incoherent*
post May 13 2006, 10:27 PM
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 &raquo;</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.
 

Posts in this topic
incoherent   wordpress pages   May 13 2006, 07:45 PM
toyo loco   Post the code in your page.php . Or just let me l...   May 13 2006, 07:54 PM
insomniac   make sure you're including the header.php file...   May 13 2006, 08:03 PM
incoherent   <?php get_header(); ?> <div id="co...   May 13 2006, 10:27 PM
incoherent   thanks hobo you can close this now   May 13 2006, 10:38 PM
toyo loco   ... I thought "hobo" was over. Anyways ...   May 13 2006, 10:52 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: