Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: Problem with I.E
    Thread Starter raphaelfs

    (@raphaelfs)

    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!

    Thread Starter raphaelfs

    (@raphaelfs)

    nobody?

    Thread Starter raphaelfs

    (@raphaelfs)

    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!

    Thread Starter raphaelfs

    (@raphaelfs)

    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!!

    Thread Starter raphaelfs

    (@raphaelfs)

    Perfect!

    Thanks!

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