WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Sitewide Tags Pages
Does sitewide tags enable custom loops and conditionals b (4 posts)

  1. jasonkadlec
    Member
    Posted 1 year ago #

    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/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Sitewide Tags only copies the posts to your tags blog. Any other functionality that you want you meed to customize your theme or install plugins.

  3. jasonkadlec
    Member
    Posted 1 year ago #

    Ron:

    Does that mean they are copied into a database table? Can I then hit that table with a query posts? Or would it have to be an sql request to the db?

    I'm just not clear on what "copies the posts to your tags blog" means-- - does it mean that it just looks for a normal wordpress loop on a page with the slug /blog or /tags

    and automatically adds stuff in, but doesn't actually do anything to the db?

    Either way - I know the plugin had some limitations on what was being copied, for example the post thumbnails (though I think that's now working in the latest version).

    But are the categories passed in a way that a loop can interact with them?

    The questions I'm asking are assuming that I'll be customizing my theme - I'm just trying to get at how similar the theme will be to a query posts, or normal wordpress loop will be.

    Thanks for the quick response!!

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Does that mean they are copied into a database table? Can I then hit that table with a query posts? Or would it have to be an sql request to the db?

    Sitewide tags populates a WP site with the posts from the other sites in the network as those posts are published. See the notes: http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/other_notes/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic