How do I create a page that uses Wordpress files but not all?

Discussion in 'WordPress' started by Chris Guthrie, Jan 17, 2009.

  1. #1
    I know that question is fairly vague, but what I'm trying to do is create a .php page that pulls the header.php file and footer.php file.

    I want to then embed an Amazon store in between that content.

    i.e.

    Header

    My Amazon store embeded

    Footer

    Any ideas? It's probably pretty simple but I'm a noob at PHP.

    Let me know thanks!
     
    Chris Guthrie, Jan 17, 2009 IP
  2. bojomojo

    bojomojo Peon

    Messages:
    921
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes, use the
    
    <?php include('header.php'); ?>
    [/tag]
    
    In your page, and same as the footer, with the correct path ofcourse
    Code (markup):
     
    bojomojo, Jan 17, 2009 IP
  3. alunsina

    alunsina Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    im not familiar with amazon but another way to do it would be to rss your amazon into your blog using a plugin like feedwordpress. this way you wont have to mess with php things. :D

    hope that helps.
     
    alunsina, Jan 17, 2009 IP
  4. Chris Guthrie

    Chris Guthrie Active Member

    Messages:
    249
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #4
     
    Chris Guthrie, Jan 18, 2009 IP
  5. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #5
    hmansfield, Jan 18, 2009 IP
  6. Chris Guthrie

    Chris Guthrie Active Member

    Messages:
    249
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Sweet thanks for the help dude!
     
    Chris Guthrie, Jan 19, 2009 IP