Display LinkedIn certifications
-
Dear Mr Vedovini,
I would like to display my certifications.
From the documentation provided , I understood that I had first to define these added fields that have to be fetched from LinkedIn.
Based on the list available here :https://developer.linkedin.com/docs/fields/certifications I set the following fields in the Profile fields in your plugin options:
summary, certification:(name,start-date,end-date,number), specialties, languages, skills, educations, positions, recommendations-received:(recommendation-text,recommender:(first-name,last-name,public-profile-url))Then I went into “/wp-content/plugins/wp-linkedin/templates” and created a “profile-certifications.php” based on the education template file .
I know nothing about php , so I tried and by replacing some part of code I did this :<div id="educations" class="section"> <div class="heading"><?php _e('Certifications', 'wp-linkedin'); ?></div> <?php foreach ($profile->certifications->values as $v): ?> <div class="education"> <div class="school"><strong><?php echo $v->name; ?></strong> (<?php echo $v->start-date>year; ?> - <?php echo isset($v->end-date) ? $v->end-date->year : __('Present', 'wp-linkedin'); ?>) - <?php echo $v->number; ?></div> <?php endif; ?> </div> <?php endforeach; ?> </div>and save it there.
Unfortunatly , it does not do the job and this
[li_profile fields="educations, certifications" lang="fr"]only provide the education field and not the certifications as well.
I’m sorry for this very long message , but would you have a kitchen recipe for a non develloper guy like me to succeeed ?
Thanks a lot in advance for any help or advice
The topic ‘Display LinkedIn certifications’ is closed to new replies.