WordPress.org

Ready to get started?Download WordPress

Forums

call to $current_site (2 posts)

  1. pescadito01
    Member
    Posted 4 years ago #

    hi,
    i try to call $current_site from the main blog and/or the subblogs but always get first main blog.

    global $current_site;
    echo $current_site->id;

    and i get:
    "1"

    any advice to me?

  2. current site caled the install itself. You want current blog.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.