BP profile data

<?php xprofile_set_field_data('City',$user_id,'LocoMoco'); //Change Simple Field ?>

<?php echo bp_profile_field_data( 'field=City' ); //Get Data ?>

<?php //Use for checkboxes and dropdowns - Have not tested this, xprofile_set_field_data seems to work to change value set in a dropdown
$value = maybe_serialize( [An Array of your values] );
xprofile_set_field_data( $field_name, $user_set_id, $value);

Box sizing

/* apply a natural box layout model to all elements */
* { box-sizing: border-box; -moz-box-sizing: border-box; }

Page Window

Plugin Name: Mad Page Window
Plugin URI: http://www.hyperspatial.com/
Description: Display WordPress page content on your homepage
Version: 1.0
Author: Adam J Nowak
Author URI: http://www.hyperspatial.com/
License: GPL2

Usage Example:

<?php $window1 = new MadPageWindow(1434) //Create Loop Window by Page ID ?>
<h3><?php $window1->title() ?></h3>
<div><?php $window1->excerpt() ?></div>

<?php $window2 = new MadPageWindow(1434) ?>
<?php $var_to_hold = $window2->get_content() //Use get_content if you don't print this right away ?>
<div><?php echo "Don't print this right away: <br>" . $var_to_hold ?></div>

<?php $window3 = new MadPageWindow(1436) ?>
<h3><?php $window3->title() ?></h3>
<div><?php $window3->content() ?></div>

class MadPageWindow{
private $_page_id,$_title,$_content,$_excerpt;
public function __construct($page_id){
$this->_page_id = $page_id;

/* ~~~~~~~~~~ Private Methods ~~~~~~~~~~ */

private function loop(){
$mad_query = new WP_Query('page_id=' . $this->_page_id);
while($mad_query->have_posts()) : $mad_query->the_post();
$this->_title = get_the_title();
$this->_content = get_the_content();
$this->_excerpt = get_the_excerpt();

/* ~~~~~~~~~~ Public Methods ~~~~~~~~~~ */

public function title(){ echo $this->get_title(); }
public function get_title(){ return $this->_title; }

public function content(){ echo $this->get_content(); }
public function get_content(){ return $this->_content; }

public function excerpt(){ echo $this->get_excerpt(); }
public function get_excerpt(){ return $this->_excerpt; }