Greetings, I am needing some help with the following problem in wordpress.
wordpress includes code question
2
Greetings,
I am needing some help with the following problem in wordpress.
1. I can succesfully include a file using the exec-php plugin in a wordpress post if the file is in the same directory on on the same server.
IE: <?php include(ABSPATH . "banner.php"); ?>
This sample works just fine in my wordpress template
2. My problem arises, when I try to include a url from an external website into my wordpress template ie:
Instead of banner.php I want to include something like www.sitename.com/url-goes-here/
Anyone know the proper code to use to include a file from an external site in a wordpress blog?
I am needing some help with the following problem in wordpress.
1. I can succesfully include a file using the exec-php plugin in a wordpress post if the file is in the same directory on on the same server.
IE: <?php include(ABSPATH . "banner.php"); ?>
This sample works just fine in my wordpress template
2. My problem arises, when I try to include a url from an external website into my wordpress template ie:
Instead of banner.php I want to include something like www.sitename.com/url-goes-here/
Anyone know the proper code to use to include a file from an external site in a wordpress blog?
- floatingatoll
- MarioKing
Next Topics on Trending Feed
-
2