Erwin Wildenburg
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [WP LinkedIn] InstallationY U NO use wordpress admin interface???
Besides that this is never gonna work…
You are going to pull the value of an option called “xxxxwthyfy4q”. That option does not exist because it is called “wp-linkedin_appkey”.You could however try this (might not work I’m not very good at PHP):
define('LINKEDIN_APPKEY', 'xxxxwthyfy4q'); define('LINKEDIN_APPSECRET', 'xxxxayZJSlQi7fPZ'); define('LINKEDIN_USERTOKEN', 'xxxx57b4-89c9-4815-a44e-4503ddde10ad'); define('LINKEDIN_USERSECRET', 'xxxxc741-1fb0-4cb5-8ce9-38ab1e3b0892'); define('LINKEDIN_FIELDS_BASIC', 'id, first-name, last-name, picture-url, headline, location, industry, public-profile-url'); define('LINKEDIN_FIELDS_DEFAULT', 'summary, specialties, languages, skills, educations, positions, recommendations-received'); define('LINKEDIN_FIELDS', LINKEDIN_FIELDS_BASIC . ', ' . get_option('wp-linkedin_fields', LINKEDIN_FIELDS_DEFAULT));
Forum: Plugins
In reply to: [WP LinkedIn] CertificationsOk my PHP is not very good… I only know the basics.
This is how far I got, but for some reason the startDate and the authorityname won’t show up as I expected. Tried lots of variations before asking your help here…<?php if (isset($profile->certifications)): ?> <div 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></div> <div class="degree"><?php echo $v->authority->name; ?> | <?php echo $v->startDate->year; ?></div> </div> <?php endforeach; ?> </div> <?php endif; ?>
Can you take a look at it?
Viewing 2 replies - 1 through 2 (of 2 total)