Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lucaswe

    (@lucaswe)

    I solved it by myself by using the code below:
    note: the code below shows both the page content and the posts with the right category ID in the same page.

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <h2><?php the_title(); ?></h2>
    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div></div>
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    <?php endif; ?>
    <?php query_posts('cat=5'); ?>
    <div class="archive">
    <ul>
    <?php while (have_posts()) : the_post(); ?>
    <li>
    <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><span class="archive-date"><?php the_time('M d Y') ?></span><?php the_title(); ?></a></h3>
    </li>
    <?php endwhile;?>
    </ul></div>

    u need to reinstall it in your root folder and not in a subfolder like you have done on your /wordpress/.

    the folders: wp-include, wp-content and wp-admin should be in your topfolder.

Viewing 2 replies - 1 through 2 (of 2 total)