Sub Sites – The individual staff blogs


Welcome to Black Marble’s blog server. It is the home of all Black Marble’s staff blogs and acts as an aggregate of all the Black Marble Development Team’s Blogs
[insert_php]
$subsites = get_sites();
if ( ! empty ( $subsites ) ) {
echo ‘

    ‘;
    foreach( $subsites as $subsite ) {
    $subsite_id = get_object_vars( $subsite )[“blog_id”];
    $subsite_name = get_blog_details( $subsite_id )->blogname;
    $subsite_link = get_blog_details( $subsite_id )->siteurl;
    $subsite_mature = get_blog_details( $subsite_id )->mature;
    if (($subsite_id > 1) && ( $subsite_mature == 0)) {
    echo ‘

  • ‘ . $subsite_name . ‘
  • ‘;
    }
    }
    echo ‘

‘;
}
[/insert_php]
We also still host the archive of some staff who have moved onto to pastures new, or other associated with Black Marble but are not employees
[insert_php]
$subsites = get_sites();
if ( ! empty ( $subsites ) ) {
echo ‘

    ‘;
    foreach( $subsites as $subsite ) {
    $subsite_id = get_object_vars( $subsite )[“blog_id”];
    $subsite_name = get_blog_details( $subsite_id )->blogname;
    $subsite_link = get_blog_details( $subsite_id )->siteurl;
    $subsite_mature = get_blog_details( $subsite_id )->mature;
    if ($subsite_mature == 1 ) {
    echo ‘

  • ‘ . $subsite_name .’
  • ‘;
    }
    }
    echo ‘

‘;
}
[/insert_php]