• Hi,
    We’ve upgraded to WordPress 3.2.1 and see an interesting behavior that I don’t believe we’ve seen before the upgrade.

    This is a multiblog server and we use “Global tags” feature.

    It appears that many posts are being duplicated in the “global tags” blog.
    I know what causing it.
    When user creates a new post in his blog this post is saved in the “global tags” blog. And each time the user hits update button on the post a new post is created and saved in the “global tags” blog.

    Follow this link for the example:
    this is a single post in my personal blog
    http://discovery.caryacademy.org/dmitry_manakhov

    Here it gets replicated multiple times in the Global Tags blog because i pressed Update button several times
    http://discovery.caryacademy.org/2011/blog/tag/goanimate/

    Is it by design or a bug? Is there anything i can do to disable redundant blog posts in the “Global Tags” blog?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Which plugin were you using?

    There is no ‘global tags’ feature in MultiSite anymore (there was in WPMU I think).

    If you are using the sitewide tags plugin to make a tags blog, update the plugin.

    regiaodeaveiro

    (@servicoswebregiaodeaveiropt)

    Hi!
    Can I use the sitewide tags to display a tag cloud in de main site?
    And if so, is there any trick for that?

    cheers

    yes you can use it for that. just feed the posts ot the main site and use a tag cloud widget.

    regiaodeaveiro

    (@servicoswebregiaodeaveiropt)

    maybe I didn’t exppress myself the best way..

    I wish to ask if I can use the sitewide tags to display, in de main site, a tag cloud … with all the tags used in the network?

    thanks

    regiaodeaveiro

    (@servicoswebregiaodeaveiropt)

    I don’t whant the posts on the main site, just the tags.

    thanks

    Use sitewide tags to aggregate all the posts (and tags to the main blog).
    Use general settings to use a page as your front page, and set the posts page at another page.
    Don’t have a link to the posts page if you don’t want people to see it.

    Alternativly, if you want to run a blog on the main site,
    create a separate sitewide tags blog. (default is tags).

    Use the switch to blog and the wordpress tag cloud function http://codex.wordpress.org/Function_Reference/wp_tag_cloud to display the tag cloud widget in the sidebar on your main site (code into theme or maybe use html in text widget?)

    Something like this should do it (I haven’t tested this and maybe someone more knowledgable can add detail or caveats.

    switch_to_blog(BLOG#HERE)
    <?php if ( function_exists('wp_tag_cloud') ) : ?>
    <li>
    <h2>Popular Tags</h2>
    <ul>
    <?php wp_tag_cloud('smallest=8&largest=22'); ?>
    </ul>
    </li>
    <?php endif; ?>
    restore_current_blog()

    Caveat: using switch_to_blog on the front side of your site is resource expensive

    I’ve noticed that too. what’s the best way to do this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The global "tags" blog creates duplicates’ is closed to new replies.