Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Claude Vedovini

    (@cvedovini)

    HI, you will have to customize the profile template, check that post for a similar example: http://vedovini.net/2013/06/showing-more-of-your-linkedin-profile-with-wp-linkedin/

    Thread Starter darthdaron

    (@darthdaron)

    Cool, thanks. Here is a code that works for me:

    <?php if (isset($profile->courses->values) && is_array($profile->courses->values)): ?>
    <div id="courses" class="section">
    <div class="heading"><?php _e('courses', 'wp-linkedin'); ?></div>
    <ul>
    <?php foreach ($profile->courses->values as $v): ?>
    <li class="course"><?php echo $v->name; ?></li>
    <?php endforeach; ?>
    </ul>
    </div>
    <?php endif;?>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Courses’ is closed to new replies.