• Hi there,

    I am trying to include a PHP file in a template using my theme’s styleheet URI, but I can’t get the PHP include code right.

    This is what I have:

    <?php include(" . get_stylesheet_directory_uri() . includes/sidebar-inside.php") ;?>

    Can anyone tell me what I have wrong with it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘including a PHP file using stylesheet URI?’ is closed to new replies.