Should be included in the theme header.php in the <HEAD> ... </HEAD> tags. This also assumes the .css file is also in the current theme folder along with this page file. --> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/wps_profile_page.css" /> <div id="primary"> <div id="content" role="main"> <?php // Sidebar echo '<div id="my-sidebar">'; echo '<div id="my-profile-box">'; // Show avatar echo $wps_user->get_avatar(204); if ($wps_user->get_id() != $current_user->ID) { // Friends? if ($wps_user->is_friend()) { echo 'You are friends.<br />'; } else { // Pending friend? if ($wps_user->is_pending_friend()) { echo 'Friendship requested.'; echo $wps_ui->friendship_cancel($wps_user->get_id(), 'Cancel', 'Cancelled!', 'my-submit-button'); } else { // Not a friend echo 'Make friends with '.$wps_user->get_display_name().'...'; echo $wps_ui->friendship_add($wps_user->get_id(), "Type a message, hit return!", "Request sent.", "my-input-box"); } }