WordPress.org

Support

Support » Plugins and Hacks » User Avatar » Code in front end does not work. Help needed??

Code in front end does not work. Help needed??

  • secretsau

    @secretsau

    Hi,

    I have the following code in the front end of my site, while users/members are logged in:

    <a href="<?php echo admin_url('admin-ajax.php'); ?>?action=user_avatar_add_photo&step=1&uid=<?php echo $current_user->ID; ?>?iframe=true&width=520&height=350" title="Upload and Crop an Image to be Displayed" target="_blank">Update Picture</a>

    However it comes up with errors. Could someone please tell me what I am doing wrong ?

    Thanks

    http://wordpress.org/extend/plugins/user-avatar/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code in front end does not work. Help needed??’ is closed to new replies.
Skip to toolbar