• dschiffner

    (@dschiffner)


    I’m building a theme with some custom post types.

    Normally all of these functions would just go in the functions.php file but I decided to make each post type function in a separate .php file.

    Basically in my functions.php file I have.

    <?php include('filename.php'); ?>
    <?php include('filename2.php'); ?>

    For some reason when there is two includes in the file neither work. But when there is only one inside the file it works. I tested both as just a single include and they both work fine. I’m lost…

    Anybody know what’s going on here?

    Thanks,
    David

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using php includes in the functions.php file. Not working. Help!’ is closed to new replies.