Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress – How can I include an external PHP file?

  • Hi,

    I have a new wordpress installation. Here is an example of what I would like to do:

    Include an external PHP navigation file. WordPress is located at http://example.com/wordpress. The external PHP navigation file is located at http://example.com/navigation.php.

    PHP includes such as <?php include(“LINK”); ?> do not work.

    ANY HELP is greatly appreciated!

    Thanks

    2 weeks ago

    Additional Details

    I appreciate the help, but none of those work.

    Also I would like to add that I have a different wordpress installation that has exactly what I need working.

    But for some reason, in this installation I cannot do it. Same versions.

    2 weeks ago

    I have copied all of my coding into a new wordpress theme.

    Now they work.

    They do not work in my modified theme for some reason -_-

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar