WordPress.org

Ready to get started?Download WordPress

Forums

Faking cms with wp 1.5 (4 posts)

  1. shiftyone
    Member
    Posted 9 years ago #

    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

  2. sumeetsingh
    Member
    Posted 9 years ago #

    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'); ?>

  3. vikosta
    Member
    Posted 9 years ago #

    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

  4. dss
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.