• Resolved mdevaney

    (@mdevaney)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mdevaney

    (@mdevaney)

    right now its just echoing the url in plain text.

    Plugin Author guillaumev

    (@guillaumev)

    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 ?

    Thread Starter mdevaney

    (@mdevaney)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘using user meta as profile url outsite loop’ is closed to new replies.