• Resolved lul2x

    (@lul2x)


    Hi

    I have WordPress running at https://pbriscoe.com. I also have a movie script that uses MySQL at https://pbriscoe.com/movies. Is there anyway I can integrate that movies page into WordPress? All I really want is for the WordPress header and footer to wrap around the movies page. Is there an easy way to go about this? Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter lul2x

    (@lul2x)

    Fixed. All I did was added this code before and after my movie page’s script.

    <?php require('/home/username/server/wp-blog-header.php'); ?>
    <?php get_header(); ?>
    #source code for script here
    <?php get_footer(); ?>

    Now when I go to mysite.com/movies, the page is wrapped in a WP header and footer. May be easy, but took a while for me to find out.

Viewing 1 replies (of 1 total)
  • The topic ‘Wrap a Non-WP page within a WP Page’ is closed to new replies.