Forums

how to call a blog by blog ID (2 posts)

  1. Mary Leon
    Member
    Posted 1 year ago #

    I am working on a 3rd party application, and I want to call a wordpress blog by its id. what is the syntax to do this, so it can be numeric?

    Appreciate the help

  2. Pete
    Member
    Posted 8 months ago #

    You could try :

    <?php echo get_site_url($blog_id); ?>

    This would work if the sites are within a wordpress multi user installation.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags