Forums

LinkedIn SC
[resolved] using user meta as profile url outsite loop (4 posts)

  1. mdevaney
    Member
    Posted 1 year ago #

    I have a mutli site running wp3.1.1 im placing this in the header.

    <?php
     $LIURL = the_author_meta('linkedinurl');
     echo do_shortcode('[linkedinsc profile=".$LIURL." lang="en"]');
     echo do_shortcode('[linkedinsc_summary]');
    ?>

    the user_meta field is 'linkedinurl'
    the point is to be able to have each person who signs up for a blog to be able to display their linkedin summery

    any idea why this wont work?

  2. mdevaney
    Member
    Posted 1 year ago #

    right now its just echoing the url in plain text.

  3. guillaumev
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    A few questions/ideas:

    I'm not sure the header is the right place to put something lik this. Maybe try in another place.

    Are you using the LinkedIn API to parse user profiles. Because parsing user profiles based on URLs only works if you are NOT using LinkedIn API (and therefore if you have your LinkedIn SC settings empty) ?

    Finally, how does your URLs look like ?

  4. mdevaney
    Member
    Posted 1 year ago #

    i figured it out,

    $user_info=get_userdatabylogin($user_login_name);

    check out http://www.SwiftResumes.com and sign up to see a new way to do backends.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic