WordPress.org

Forums

Author Image
[resolved] Front end uploading (2 posts)

  1. omelani
    Member
    Posted 1 year ago #

    Great Plugin, but I want to integrate it to my page frontend, my code for example(email)
    <p><label for="email"><?php _e('Email',APP_TD) ?></label> <input type="text" name="email" class="text regular-text" id="email" value="<?php echo $userdata->user_email ?>" maxlength="100" /></p>

    I am using jobroller theme

    http://wordpress.org/plugins/sem-author-image/

  2. Mike Koepke
    Member
    Plugin Author

    Posted 1 year ago #

    I'm not understanding your request.

    If you're looking to include the plugin's functionality into a theme, for example, there are several php functions that can be called.

    Alternatively, place the following call in the loop where you want the author image to appear:

    <?php the_author_image();?>
    This $author_id parameter is optional. If it is not passed in, the code will attempt to get the current author of the page/post.

    A second version of this function exists whereby you can pass in width and height to display the image.

    <?php the_author_image_size($width, $height, $author_id = null); ?>
    This $author_id parameter is optional. If it is not passed in, the code will attempt to get the current author of the page/post.

    To configure your author image, browse Users / Your Profile in the admin area.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Author Image
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic