Homepage

[insert_php]

$articles = get_posts(
array(
‘numberposts’ => 2,
‘post_status’ => ‘publish’,
‘cat’ => 4,
‘orderby’ => ‘date’,
‘offset’ => 1,
‘order’=>’DESC’
)
);

echo “

    “;
    foreach ($articles as $article) {
    $postName = $article->post_name;
    $postTitle = strtoupper(str_replace([‘ Answers’, ‘Red Herring Daily’], [‘ Puzzle’,”], $article->post_title));
    echo “

  • $postTitle
  • “;
    }
    echo “

“;

[/insert_php]