guid; $url_to_wire = elgg_get_site_url() . "pg/thewire/" . $vars['entity']->username; //grab the user's latest from the wire $params = array( 'types' => 'object', 'subtypes' => 'thewire', 'owner_guid' => $owner, 'limit' => 1, ); $latest_wire = elgg_get_entities($params); if ($latest_wire) { foreach ($latest_wire as $lw) { $content = $lw->description; $time = "
(" . elgg_view_friendly_time($lw->time_created) . ")
"; } echo "