Using an include('http://wordpress.org"); link in my site
-
I’ve searched high and low and maybe I’m just searching with the wrong wording. Please forgive me I’m nowhere near a php expert.
I have multiple sites that I administrate and the all have the same sidebar widget that includes links/images to our main site and affiliates. Rather then have each site administrator copy and paste the ad code in a text widget is there a way that I can just hard code the following code directly and have it work? I’ve tried but it doesn’t work.
For example:
<?php include(“http://wordpress.org/banner.php”); ?>
That’s it. So that way I can create a simple document with all our banners, images and links in one simple “banner.php” file so when modified, it modifies all the sites that pull that same include.
Any light at the end of this tunnel would be awesome!! Thank you so much.
The topic ‘Using an include('http://wordpress.org"); link in my site’ is closed to new replies.