Title: Using include function
Last modified: January 21, 2018

---

# Using include function

 *  Resolved [Ian McCluskey](https://wordpress.org/support/users/iannismccluskey/)
 * (@iannismccluskey)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/using-include-function/)
 * Hello,
 * I’d like to use this plugin to include my own PHP file to WordPress but it doesn’t
   seem to work. I simply added this line to the plugin :
 * `include 'http://epsyl.org/custom.php';`
 * Can you help me in any way ?
 * Thanks,
 * Iannis
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusing-include-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [Ian McCluskey](https://wordpress.org/support/users/iannismccluskey/)
 * (@iannismccluskey)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/using-include-function/#post-9886574)
 * I found the solution.
 * FYI, the file name had to be :
 * `include('../custom.php');`
 * Thanks anyway.

Viewing 1 replies (of 1 total)

The topic ‘Using include function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-custom-functions_0e1030.svg)
 * [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-custom-functions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-custom-functions/)
 * [Active Topics](https://wordpress.org/support/plugin/my-custom-functions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-custom-functions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-custom-functions/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 1 participant
 * Last reply from: [Ian McCluskey](https://wordpress.org/support/users/iannismccluskey/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/using-include-function/#post-9886574)
 * Status: resolved