• How would I take the following SQL statement, and feed its query to the db using query_posts() function?

    SELECT * FROM wp_posts WHERE DATE_SUB(CURDATE(),INTERVAL 7 DAY) <= post_date;

    I know the codex is down, but does anyone have info on what parameters can be used with the query_posts() function?

Viewing 1 replies (of 1 total)
  • I too am looking for a list of parameters. Anyone happen to have them or can post them to the Codex?

Viewing 1 replies (of 1 total)
  • The topic ‘Translating SQL to <?php query_posts() ?>’ is closed to new replies.