Multi Site Custom Post Types two sites one backend
-
So this is what I want to do:
I have two sites set up using Multi-Site. Each site has a separate theme. The one theme has a page called venues. This venues page is pulling a custom post type called ‘venues’. Everything works fine. Now what I want to do with the other site is pull the same information from this ‘venues’ custom post types page from the other site. So I figured I could take the page template ‘venues’ and copy the loop which pulls the custom post type and make a new file ‘venues.php’ and run an includes in the template. I am getting an error:
‘Fatal error: Call to undefined function query_posts() in…’
Thats the first problem. Why cant I run a ‘php include’ with the loop? the second is how do I pull the loop from the other site. Do I run a ‘php include’ with a direct path from the other theme? Will this work? Do I need to use something like simple pie? If this is too confusing please let me know, I tried to explaing the best I could. Thanks for the help!!!
- The topic ‘Multi Site Custom Post Types two sites one backend’ is closed to new replies.