";
}
public function one_half ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'one_half'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function one_third ($atts, $content){
extract(shortcode_atts(array(
'right' => false,
'left' => false
),$atts,'one_third'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function two_thirds ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'two_thirds'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function one_fourth ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'one_fourth'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function two_fourths ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'two_fourths'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function three_fourths ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'three_fourths'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function one_fifth ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'one_fifth'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function two_fifths ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'two_fifths'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function three_fifths ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'three_fifths'));
return "
".do_shortcode(wpautop($content, true))."
";
}
public function four_fifths ($atts, $content){
extract(shortcode_atts(array(
'right' =>false,
'left' => false
),$atts,'three_fifths'));
return "
".do_shortcode(wpautop($content, true))."
";
}
/* Clear */
public function clear ($atts, $content){
extract(shortcode_atts(array(
),$atts,'clear'));
return "";
}
/* More */
public function more ($atts, $content){
extract(shortcode_atts(array(
'title'=>"Learn More..."
),$atts, 'more'));
return "
";
}
public function buttons ($atts,$content){
extract(shortcode_atts(array(
'align' => "right"
),$atts, 'buttons'));
return "
".do_shortcode($content)."
";
}
public function email_form ($atts, $content){
extract(shortcode_atts(array(
'height' => '620px',
'width' => '100%',
'title' => 'Get Connected',
'above_form' => "Please enter your contact information and we will connect with you to answer any and all of your questions.",
'email' => 'Email Address',
'name' => 'First and Last Name',
'company' => 'Company Name',
'phone' => 'Phone Number',
'content' => 'Comments',
'get_emails' => 'Yes, I would like to receive the newsletters.',
'button' => 'Get Connected',
'type' => 'email',
'error' => "There was an error connecting you.",
'success' => "You are now connected."
),$atts, 'email_form'));
$height = $this->get_size($height);
$width = $this->get_size($width);
$form = "