Don't want to use themes: now I'm stuck (4 posts)

  1. Jack
    Posted 11 years ago #

    I'm using the nightly from 28-december. I don't want to use themes, instead through the options I've set my homepage for my weblog to another directory. In that directory I've put the index.php and all the other necessary files (header, footer, styles). But when I call for that directory still the original index.php is opened within the wp-directory. It worked ok with 1.2, but the 'forwarding' to the 'home' is not working and the default template is used.

    Anyone who is also using seperate directories for their site(s) that knows what I'm doing wrong here?

  2. Ryan Boren
    WordPress Dev
    Posted 11 years ago #

    Starting with the 20040110 nightly build, you can circumvent the theme sytem entirely by setting $wp_template_redirect to false right before you include the blog header.

    $wp_template_redirect = false;

    You will get 1.2.x style behavior and lose all 1.5 theme related features.

  3. Jack
    Posted 11 years ago #

    Thanks! I realize the themes are a nice addition, but this way I can keep weblog-content and style together, at least within the same folder, but seperated from the 'engine' which is wordpress. To me this is easier to work with and safer!

    Does this mean I can put index.php, header.php, footer.php, sidebar.php ánd style.css in my weblogfolder? The only real reference to the wordpressfolder would be the reference in my modified header.php to the wp-blog-header file.

  4. Jack
    Posted 11 years ago #

    I installed the nightly from 10-01-2005 instead of the one you mentioned ;-) and use these lines in my weblog-beta/index.php:

    $wp_template_redirect = false;


    But still the site is linked to the wp-content/themes/folder while in the optionsmenu 'home' is set to

    (My folders are all side by side: http://www.site.nl/weblog-beta and http://www.site.nl/wordpress-beta)

    By the way, if you see it as it should it's because I'm using the themesfolder for a moment to do some more testing...

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.