These snippets can be added to the functions.php file or a plugin. The first shortcode will only work if you have the “rad options page” plugin running.

function phone_code(){
	$options = get_option('rad_options');
	return ''.$options['company_phone'].''; 	
}
//(tag to replace, function to run)
//replaces [phone]
add_shortcode('phone', 'phone_code');

//shortcode with content
function onethird_code($atts, $content = null){
	return '
'.do_shortcode($content).'
'; } add_shortcode('third', 'onethird_code');