Support » Fixing WordPress » Faking cms with wp 1.5

  • If any of you people are familiar with ChrisjDavis’s cms for wordpress I’m having some problem where to add
    <?php
    $cat="1 2 3 4 5 6 7″;
    require('./wp-blog-header.php');
    ?>

    in the template since wordpess changed it to the kubrick style

Viewing 3 replies - 1 through 3 (of 3 total)
  • Add it on the top. The very first line on the page:

    Kubrick must have added it like this:
    <?php
    /* Don’t remove this line. */ require(‘./wp-blog-header.php’); ?>

    Change this to:
    <?php
    $cat=”1 2 3 4 5 6 7″;
    /* Don’t remove this line. */ require(‘./wp-blog-header.php’); ?>

    Hi!!! i’m very new to wp my question is:

    is it realy necessary to fake a cms with wp 1.5

    the new feature “Pages” should do the trick or not.

    Thanx

    sometimes…

    the above code addition will set the display categories for the index.php to exclude some, or show only one.

    also you can’t put php into a page. however you can add as many templates as you want, and change them to suit your various pages.

    so yes, pages are wonderful!
    no they don’t solve all the would be’s and could be’s of using WP for the solution for a fairly complex and orgnaizationally challenged site.

    but it’s pretty close.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Faking cms with wp 1.5’ is closed to new replies.