Help with a 1 line string

Discussion in 'PHP' started by JohnS0N, Sep 22, 2008.

  1. #1
    I need help with integration. I'm not a programmer, so I don't know what the strings needed are to get this thing working. Basically I want to include the category 3 into each single post in wordpress.

    <?php query_posts($query_string.'&cat=-3&&order=DESC');

    Include it here below:

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    so it should be something like php if I have posts, include this string : ($query_string.'&cat=-3&&order=DESC')

    How do I get this to work?
     
    JohnS0N, Sep 22, 2008 IP
  2. JohnS0N

    JohnS0N Notable Member

    Messages:
    1,581
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Can be closed. Found an alternate solution.
     
    JohnS0N, Sep 22, 2008 IP