• I’m playing around with trying to hack WP 1.3-alpha 4 into a CMS, the way I did for 1.2, and I find some of my old hacks don’t work. Specifically, I don’t know how to make index.php default to a specific category or post.
    I used to use this:
    if (!isset($cat)) {
    $cat = "1";
    }

    But I don’t know where that would go in the new code.
    It used to go after
    <?php
    $blog = 1;

    Thanks!

Viewing 14 replies - 16 through 29 (of 29 total)
Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘index.php – single category hack?’ is closed to new replies.