WordPress.org

Ready to get started?Download WordPress

Forums

Site name, site title, blog_id (1 post)

  1. dallasm
    Member
    Posted 3 years ago #

    Hi, I've got a few issues related to site name on multisite.
    I'm using wp_get_archives and switch_to_blog to display recent posts lists for some of my sites in my sidebar (I'm thinking this has to be more efficient thatnRSS feeds).
    This calls for blog_id but its really hard to find this in 3.1: how can we find this for each blog?

    Also, is there a way to display the site name/id as opposed to the site title or id#

    eg if my site is
    sitename.multisite.com and the name is "my site"

    I want to display sitename, not "my site"

    I'd like to have a link to sitename next to a link to multisite.
    I was going to display this instead of my tagline in my header.
    Thanks

    Dallas

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.