function rb_resume_intro_shortcode($atts, $content = null)
{
    shortcode_atts(array('id' => false), $atts);
    if ($atts['id'] === false) {
        return '';
    }
    $resume = get_post($atts['id']);
    if (!$resume) {
        return '';
    }
    $sections = resume_get_post_meta($atts['id'], 'rb_resume_sections', 'complex');
    if (!$sections) {
        return;
    }
    // Sort the sections by key (for those servers that are messing with the order for some reason)
    ksort($sections);
    foreach ($sections as $section) {
        if ($section['_type'] == '_introduction_block') {
            $output = '<div class="rb-resume-block"><div class="rb-about">' . rb_render_resume_intro($section, false) . '</div></div>';
        }
    }
    return $output;
}
 function resume_get_the_post_meta($name, $type = null)
 {
     return resume_get_post_meta(get_the_ID(), $name, $type);
 }