WordPress Path Problem

Discussion in 'PHP' started by RECEP, Aug 1, 2007.

  1. #1
    Hello friends, l am looking for any way how to use an option like :
    l want to get some pages into my theme with
    <?php include (TEMPLATEPATH . '/pages.php'); ?> to the theme.
    But the Problem is "pages.php" should be in the root folder, not in the theme folder.
    So l want to make a
    <?php include (ROOTPATH. '/pages.php'); ?>
    l am asking if its possible in wp ? and how can l do it ???
    Thanks..
     
    RECEP, Aug 1, 2007 IP