Log In · Register

 
 
Closed TopicStart new topic
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?
 
freeflow
post May 13 2006, 07:54 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Post the code in your page.php . Or just let me log into your wp since I'm positive you trust me.
wink.gif
 
Mulder
post May 13 2006, 08:03 PM
Post #3


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



make sure you're including the header.php file in your page.php
 
*incoherent*
post May 13 2006, 10:27 PM
Post #4





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.
 
*incoherent*
post May 13 2006, 10:38 PM
Post #5





Guest






thanks hobo wink.gif

you can close this now
 
freeflow
post May 13 2006, 10:52 PM
Post #6


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



... I thought "hobo" was over.
Anyways closed.
 

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