WordPress.org

Support

Support » Multisite » [Resolved] Show sub blog categories on top level site

[Resolved] Show sub blog categories on top level site

  • I am trying to work out a way to show sublog categories on the top level site.

    Is there a way to do this using <?php wp_list_categories('show_count=1&title_li='); ?>?

    Is it possible using global $blog_id;? I can reference the blog_id since it’s only one sub blog I want to show the categories from.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrea Rennick

    @andrea_r

    Customer Care at Copyblogger Media and Studiopress

    You can use switch_to_blog, but I’d only suggest that if you have a small number of blogs you’re pulling from.

    Thank you so much – that was exactly what I was looking for.

    Just curious, although it will only be pulling from one blog – do you think there is a limit to the amount of categories that I can pull in before it starts affecting performance?

    Andrea Rennick

    @andrea_r

    Customer Care at Copyblogger Media and Studiopress

    thousands. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Show sub blog categories on top level site’ is closed to new replies.
Skip to toolbar