Require Once / Include
-
Hello:
I have set a $url in a setup.php file that lives in my /childtheme directory. When I use the code below, it doesn’t use the $url set from my setup.php, but from the existing page. If I hardcode my original script for the button on a template level, it works fine, but I would prefer to use this method, since I would have more flexibility in adding the button to specific regions. Is there a way to include my setup.php on the plugin, so it’s pulling from the setup.php vs. echoing the current URL? Is there another suggested method?
<div class=”button”>Ready to get started? Click Here.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Require Once / Include’ is closed to new replies.