Support » Fixing WordPress » I would like to use php includes tag to get ….

  • archer123

    (@archer123)


    I would like to use php includes tag to get a custom navigation called nav,php that is on my root.

    I have tried both of the following in the pages, edit feature.

    <?php include(“nav.php”); ?>

    {require_once(‘nav.php’);}

    did not work any suggestions are appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    You can’t use PHP within a Page.post content area. It needs to be in the template file.

    archer123

    (@archer123)

    Thanks that makes since now that you say it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I would like to use php includes tag to get ….’ is closed to new replies.