[wp-edu] Sitwide Query for CPTs/Taxonomies (Tenbarge Chris)

Kyle Jones kylejones at thecorkboard.org
Fri Jan 6 16:50:00 UTC 2012


Thanks, Chris.  That is a helpful start.  I was able to get Sitewide  
Tags to populate my custom post types and am still working through  
that option.

~k~

On Jan 6, 2012, at 6:00 AM, wp-edu-request at lists.automattic.com wrote:

> We are a k-8 school system and we use WordPress multisite for each  
> of our buildings. For our administrators to keep track of web usage,  
> we created a page template that forms a loop around  
> switch_to_blog(), which allows us to gather information about each  
> site, which is displayed on a single page. It is a rather large page  
> load, with many different database queries flying around, but it  
> gets the job done.
>
> All you would need to do is to change what happens inside the loop  
> to adjust for your CPTs and Taxonomies.  The end result would be a  
> page long table with a cell for each site? in your case a portfolio.
>
> This would need to go inside your theme's folder, and you will need  
> to create a page, calling this template? then adjust accordingly. -  
> - - -  http://dl.dropbox.com/u/30128463/page-site-info.php
>
> Let me know if this helps - Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-edu/attachments/20120106/02239bf0/attachment.htm>


More information about the wp-edu mailing list