Working with WP Multisite for one customer with 9 locations (and individual sites) and growing. I wanted to use an include to pull in the Locations (a google map plus list of locations) into each site’s individual Locations page. I can’t get the include to work (i can get it to work using iFrame, but well, I don’t want to use iframe, rather use an include. WordPress seems to ignore the include. I’m running a child theme of 2011.
Any suggestions? Here’s the page I want to “include”: http://twomaidsandamop.com/map/index.php
and here’s the page I want to “include” it on: http://greensboro.twomaidsandamop.com/location/
and the code I’ve tried using is
<?php include("http://twomaidsandamop.com/map/index.php"); ?>
I know just enough to be dangerous, and appreciate any help provided.
- The topic ‘using a php file include in multiple multisite sites’ is closed to new replies.