• I know there has been a lot written about WP’s very special, very difficult for non-technical MT users to grasp “templating system”. But I can’t find exactly the answer I am looking for so I will just drop the question here.

    I was to use WP as a very lightweight CMS for a peronal website. The problem is that I don’t want exacly a weblog, I want a little more control and I don’t want an index file that is a 10 miles long.

    Therefore I want to be able to pull content from the DB into smaller files which I can then include in my own index.php file. I will use the post and excellent link manager in wp for my own evil ends.

    The problem is that if I create a new *.php file, for example, “mylinks.inc.php” with maybe a post or link loop in it (any wp code designed to pull things out of the database), then linking to that file or trying to get that file to return anything seems kind of futile. I am sure the reason for this is obvious to all the wp geeks reading this. but I am a mere mortal, hopefull that perhaps WP can end my dependence on MT once and for all.

    It seems like WP has a fixed set of templates and template names which cannot really be changed. easily. can this be true? Please help if you can explain this “feature” and how/if it can be worked around.

    I am runningwp 1.5-beta which uses this theme based templating system…which I obviously cannot grasp.

    thanks.

Viewing 16 replies (of 16 total)
  • Thread Starter david

    (@david)

    Yes, thanks Randyd.

    But I think it must either be….

    1) something to do with 1.5
    2) some obvious error on my part or my config…

    You’d think it would be exactly that simple,…that one could in fact just rename index.php to, for example, “poop_monkey.php”, and then just leave that file on the root of your web dir and point your browser to it and boom.

    Just when *I* do that I get a completely empty page. I mean EMPTY. without a single byte. It can find the page…it just can’t process it to any output.

    does this have anything to do with the fact that in 1.5 the only thing living in index.php is…


    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>

    Ah shucks….I guess this can’t be done in WP. Seems so simple. Thanks to everyone who has tried.

Viewing 16 replies (of 16 total)
  • The topic ‘WP 1.5 Template system question’ is closed to new replies.