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

    (@cvedovini)

    Yes, you can customize the display for both shortcodes.

    To do so you must create a linkedin folder in your theme and then copy the template file you want to modify.

    The default template files, recommendations.php and profile.php, are located in the plugin’s template folder.

    jordaniversen

    (@jordaniversen)

    Hi There,

    I wanted to check in regarding the recommendations received attribute. I installed the plugin and created credentials for Linkedin and went ahead and left the default field settings for the plugin. Everything appeared great except for the recommendations part. I received the following error:

    Warning: Invalid argument supplied for foreach() in /home/projectv/public_html/website/wp-content/plugins/wp-linkedin/templates/profile.php on line 83

    Additionally the shortcode [li_recommendations] did not appear to produce anything. The client I am using this plugin for only has 1 recommendation currently, so it may be that they need more than 1 recommendation to make these features work, but I thought I would try to see if you have run into this issue yet.

    Cheers,

    Jordan

    Plugin Author Claude Vedovini

    (@cvedovini)

    Hi,

    I suspect the linkedin API as a different output when there’s only one recommendation, Can you place the following code at line 83 of the /wp-content/plugins/wp-linkedin/templates/profile.php file and copy/paste the content of the dump here?

    <pre><?php var_dump($profile->recommendationsReceived); ?></pre>

    Thanks,
    C.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the way recommendations work’ is closed to new replies.