Title: Jay1980's Replies | WordPress.org

---

# Jay1980

  [  ](https://wordpress.org/support/users/jay1980/)

 *   [Profile](https://wordpress.org/support/users/jay1980/)
 *   [Topics Started](https://wordpress.org/support/users/jay1980/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jay1980/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jay1980/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jay1980/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jay1980/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jay1980/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Paths in templates](https://wordpress.org/support/topic/paths-in-templates/)
 *  Thread Starter [Jay1980](https://wordpress.org/support/users/jay1980/)
 * (@jay1980)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/paths-in-templates/#post-694555)
 * Thanks this was a great help and it works out.
    I want to share the solution:*
   Go to the WordPress Source Viewer to default theme in the search.php -file ([http://phpxref.com/xref/wordpress/nav.html?_constants/index.html](http://phpxref.com/xref/wordpress/nav.html?_constants/index.html))
 * * You can see if you like to want to put an URL into a php function use: “functionname(
   TEMPLATEPATH./’filenameinthetemplatedirevtory.xyz’);”
 * * If you like to put the filename as a Variable like you need it for a filepointer
   use:
    “$myfilevariable =TEMPLATEPATH.’/filenameinthetemplatedirectory.xyz’; $
   filepointer = fopen($myfilevariable, “r”);”
 * Ok, hope this helps other hobby coders as well – this cost me some time.

Viewing 1 replies (of 1 total)