WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Sitewide Tags Pages
Limit to Single Post Type (8 posts)

  1. stoi2m1
    Member
    Posted 2 years ago #

    Can this plugin be limited to a single post type?

    http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Yes, you can do that. Near the bottom of SWT there is a filter for the page post type. Use that example and build your own similar filter to specify which post type(s) you want SWT to process.

  3. stoi2m1
    Member
    Posted 2 years ago #

    Is the SWT sub blog auto populated when custom post types are edited or added in other sub blogs or is the import needed to be ran again?

    Also if Im using more then one custom post type (not there yet) is it better to have more then one SWT sub blog?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    The populate is intended to only be used when you install and is completely optional. Once your tags blog is set up you don't need to ever (re-)run it. Posts are added, updated or removed based on a variety of actions in the source blogs.

    SWT only supports one tags blog.

  5. stoi2m1
    Member
    Posted 2 years ago #

    so its been a while but Im back working on this part of my site again. Im thinking it might be useful to index all posts on the site, will this also index all comments as well and are there any issues with having more then one post type?

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    It already supports multiple post types -> posts and pages.

    No, it does not index comments.

  7. stoi2m1
    Member
    Posted 2 years ago #

    i guess i should have worded it more specifically with will it support more the one custom post type?

  8. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    The main difference between a post and a CPT is that the post post type is built in & the CPT is not. All of the built in post types are registered with the register_post_type() function just like a CPT is.

    SWT already works with multiple post types and it has no limit on how many post types you use it with. From a practical standpoint there would be a bit of a performance issue once you got beyond a few hundred post types.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic