Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter stranded

    (@stranded)

    With this theme default page.php looks like this:

    <?php get_header(); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <div class="post" id="post-<?php the_ID(); ?>">
     <div class="p-head">
      <h1><?php the_title(); ?></h1>
     </div>
    <div class="p-con">
    <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
    </div>
    <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>
    
    <?php if ( comments_open() ) comments_template(); ?>
    <?php endwhile; endif; ?>
    <?php edit_post_link('Edit this entry.', '<p class="edit">', '</p>'); ?>
    
    <?php get_footer(); ?>

    And making a new page template like for example “Forum” (forum.php) doesn’t seem to work, if I remove any part (well almost) of the page.php code the site is just blank and nothing loads.

    ;/
    And as you see the “get_sidebar” isn’t even there.

Viewing 1 replies (of 1 total)