Page outside wordpress that uses wordpress theme (4 posts)

  1. starry1
    Posted 10 years ago #

    I searched the forums for this but couldn't find it.

    I tried making pages with wordpress but the mess up the code I am trying to make available. My next choice would be to make external pages but I wondered if there was a way to tie them in to the whole template thing. So that if I change the template in wordpress all the other pages get changed auto.

    Can this be done??

    My site is http://www.neo-ilove.com

    Many thanks

  2. Class
    Posted 10 years ago #

    There probably is a way to do this if you edit your templates from within WP, someone else have to answer that.
    I keep all my CSS in regular files because I like that better, it's easy to use the design in other files as well because I can just include the CSS in any file.

  3. tomhanna
    Posted 10 years ago #

    Here are a few things that might help.

    You'll need the other page saved as .php and not .html

    At the top you need to have:
    <?php require_once('./wp-blog-header.php'); ?>

    With the full path to your wp-blog-header.php, not just the dot-slash.

    I found that I also had to add this:

    <?php get_header(); ?>


    Or look at podz's excellent tutorial that I just found in this thread:

  4. starry1
    Posted 10 years ago #

    Ok that option works but as you can see here:


    I have no side bar information being sent to the external page.

Topic Closed

This topic has been closed to new replies.

About this Topic