Title: raphaelfs's Replies | WordPress.org

---

# raphaelfs

  [  ](https://wordpress.org/support/users/raphaelfs/)

 *   [Profile](https://wordpress.org/support/users/raphaelfs/)
 *   [Topics Started](https://wordpress.org/support/users/raphaelfs/topics/)
 *   [Replies Created](https://wordpress.org/support/users/raphaelfs/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/raphaelfs/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/raphaelfs/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/raphaelfs/engagements/)
 *   [Favorites](https://wordpress.org/support/users/raphaelfs/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with I.E](https://wordpress.org/support/topic/problem-with-ie-4-2/)
 *  Thread Starter [raphaelfs](https://wordpress.org/support/users/raphaelfs/)
 * (@raphaelfs)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/problem-with-ie-4-2/#post-1112623)
 * Yeah, it was an old version of IE.
    I’ve updated my IE and everything is fine
   now.
 * Anyway, I’ll try to use these conditional comments!
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Working with category](https://wordpress.org/support/topic/working-with-category/)
 *  Thread Starter [raphaelfs](https://wordpress.org/support/users/raphaelfs/)
 * (@raphaelfs)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/working-with-category/#post-1105700)
 * nobody?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Working with category](https://wordpress.org/support/topic/working-with-category/)
 *  Thread Starter [raphaelfs](https://wordpress.org/support/users/raphaelfs/)
 * (@raphaelfs)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/working-with-category/#post-1105692)
 * Here’s what i got…
 * i’ve tryed a lot of thing to resolve this problem, but nothing fix it.
 * Bellow is the start of my “index.php” file:
 *     ```
       <?php get_header(); ?>
       <?php
   
       query_posts('cat=4');
   
       query_posts('showposts=5');
   
       ?>
   
       <?php if (have_posts()) : ?>
       <?php while (have_posts()) : the_post(); ?>
   
       <!--Start Post-->
   
       <div <?php post_class(); ?> style="margin-bottom: 40px;">
   
       <div class="p-head">
       <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
       <small class="p-time">
       ```
   
 * Here’s the start of file “page.php”
 *     ```
       <?php
   
       query_posts('cat=1');
   
       //The Query
       query_posts('showposts=5');
   
       //The Loop
       if ( have_posts() ) : while ( have_posts() ) : the_post();
        ..
       endwhile; else:
        ..
       endif;
   
       //Reset Query
       wp_reset_query();
   
       ?>
       <?php get_header(); ?>
       <?php if (have_posts()) : ?>
       <?php while (have_posts()) : the_post(); ?>
   
       <div class="post" id="post-<?php the_ID(); ?>">
   
       <?php
           global $post;
           $the_newest = get_posts(‘numberposts=1′);
           $the_newer = get_posts(‘numberposts=3&offset=1′);
           $the_new = get_posts(‘numberposts=5&offset=4&order=DESC&orderby=post_date’);
       ?>
   
       <div class="p-head">
       ```
   
 * What should I do?
    I really need help! Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Working with category](https://wordpress.org/support/topic/working-with-category/)
 *  Thread Starter [raphaelfs](https://wordpress.org/support/users/raphaelfs/)
 * (@raphaelfs)
 * [17 years ago](https://wordpress.org/support/topic/working-with-category/#post-1105443)
 * Hi equaldesign and esmi!
 * First, i tried to work with “Query Posts”, but i got in trouble. I don’t know
   where should i put these code.
 * Reading the page that ‘equaldesign’ send me, i see that i have to include
 * “
    query_posts(‘cat=1’);
 * “
    to show only the posts from Category ID=1
 * However, where should i write these code? In what file?.
 * And Esmi, a template with 2 column isn’t enough? Or 3 is better?
 * Thanks a lot!!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Problem with “continue reading”](https://wordpress.org/support/topic/problem-with-continue-reading/)
 *  Thread Starter [raphaelfs](https://wordpress.org/support/users/raphaelfs/)
 * (@raphaelfs)
 * [17 years ago](https://wordpress.org/support/topic/problem-with-continue-reading/#post-1094160)
 * Perfect!
 * Thanks!

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