WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Sitewide Tags Pages
How to get blogname for posts in loop (5 posts)

  1. dgodot
    Member
    Posted 2 years ago #

    I just installed the plugin and loaded in all the sitewide posts into my main blog. It's working perfectly, exactly as I'd hoped.

    For each post in the loop, I would like to display the name of the blog it came from, along with a link to that blog's homepage. How can I do this?

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

  2. dgodot
    Member
    Posted 2 years ago #

    One other thing -- I notice that all posts off the site's main blog (loaded by this plugin) are showing Comments Off in the main blog's loop, even though they have comments on. Any way to correct this?

  3. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    For the blog name if you google for wordpress support david sader blogname, you should find something that will give you a start on pulling the blog name.

    Link to home page - SWT already includes the permalink to the original post so you should be able to pull the home page substring from that.

    Comments - SWT turns the comments off on the copy of the post in the SWT blog so that people do not leave comments on the wrong copy of the post. On your tags blog don't show the comment link/count.

  4. dgodot
    Member
    Posted 2 years ago #

    Thanks, Ron!

    I found the thread on getting the blog name. In case anyone else is looking for it, it's at http://wordpress.org/support/topic/plugin-wordpress-mu-sitewide-tags-pages-displaying-blogname-in-sitewide-post-headlines?replies=12

    SWT seems to do a perfect job of directing traffic to the original, and I'd really like to have the number of comments displayed (or even maybe work up a way to bump posts to the top of the list when someone adds a comment) -- can you think of any reason I should avoid having SWT to leave comments on? I wonder if new comments would be added to the SWT copy as they're added to the originals...

  5. dgodot
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic