[Plugin: WordPress MU Sitewide Tags Pages] Does sitewide tags enable custom loops and conditionals b
-
Background:
Thinking about using multisite for a church.
Church has 40 ministries — so each ministry is a subdomain of the main church.
I want each ministry to create posts in categories like event, prayer of the day, etc.
The design I’ve created / church has accepted is using Isotope on the root of the site:
churchname.com — so I came across SWT as the way to aggregate all the posts from the ministries, and display on the main church page.
Please let me know:
1. Can I get the category of each post to use in a conditional:
if ( in_category( ‘Featured’ )) { ?> element large <?php }
I need this to dynamically set the class of the posts’ containing div.
2. I assume there are ways to display a button/link to various categories that are going to be standard across all the ministries for example, I need to enable a click on:
Live Events — and that returns all posts across all ministries in the category “Live Events”
3. I’m also not completely clear how one constructs a loop/builds the “static” home page– in my mind:
Header — nav etc for the main church
Home page content –> fetched from the Home page of the main site/super admin
Block containing the aggregated posts, using infinite scroll to pull more content into page
Footer
So in a normal theme, I’d use home.php — pull in the_content() for the top part, and then to create the blog stuff, I’d use a query posts type setup to create the “blog”.
Thank you so much for helping me answer the questions here… I think my original idea to create each ministry as a custom post type and use a single WordPress site would be pretty crazy, especially with over 40 ministries… multisite looks like it was made for this.
But! I need the above 3 things to work with the design.
Love WordPress!!
http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
- The topic ‘[Plugin: WordPress MU Sitewide Tags Pages] Does sitewide tags enable custom loops and conditionals b’ is closed to new replies.