WordPress.org

Ready to get started?Download WordPress

Forums

PHP-Pages in Subfolder with WP-Layout (1 post)

  1. lynx
    Member
    Posted 8 years ago #

    Hi Folks!

    I've got a little problem.
    I want to put some content, which comes not from my wordpress-DB into the layout of my wordpress blog.
    I have used for example php-script in a subfolder
    mydomain.de/test/test.php

    Until now I build the php-site like this:

    <?php
    require('../wp-blog-header.php');
    ?>
    <?php get_header(); ?>
    <div id="content" class="narrowcolumn">
    <div class="post">
    <h1>Testheadline</h1>
    <div class="entrytext">
    test-content
    </div>
    </div>
    </div>
    </div>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    But this worked with WP1.5.2. It doesnt with WP202. Is there a way, which works in any case?

    Regards!

    Jens

Topic Closed

This topic has been closed to new replies.

About this Topic