Reputation
Next privilege 5 Rep.
Participate in meta
Badges
0 0 0
Impact
~105 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jul
30
comment Non-standard (new) theme file
Ok looke like i found it, all you need to do is to include "wp-load.php" file from the WP root folder in your custom file and then you can access your custom file directly as well (www.example.com/wp-content/themes/my-theme/custom-file.php )
Jul
30
comment Non-standard (new) theme file
EDIT: damn, i just tried it, even if i try to access a default wp theme file directly it won't work, my fail... looks like there is no way to do this.
Jul
30
comment Non-standard (new) theme file
i should be able to access the file directly, some code in there that must run on direct access - www.example.com/wp-content/themes/my-theme/custom-file.php
Jul
30
asked Non-standard (new) theme file