Title: login-preview.php customization
Last modified: August 22, 2016

---

# login-preview.php customization

 *  Resolved [swingmakers](https://wordpress.org/support/users/swingmakers/)
 * (@swingmakers)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/login-previewphp-customizzation/)
 * Hello,
 * I would like to customize login-preview.php to show 3 images that I will link
   to pages instead of the users gravatar once logged in. I need to replace this:
 * <?php echo get_avatar( $current_user->ID, 128 ); ?>
 * with what?
 * [https://wordpress.org/plugins/clean-login/](https://wordpress.org/plugins/clean-login/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/login-previewphp-customizzation/#post-5332094)
 * Hi [@swingmakers](https://wordpress.org/support/users/swingmakers/),
 * Could you send me a screenshot or draft with your requirement? e.g. via snag.
   gy
 * Regards,
 * Alberto.
 *  Thread Starter [swingmakers](https://wordpress.org/support/users/swingmakers/)
 * (@swingmakers)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/login-previewphp-customizzation/#post-5332125)
 * [http://snag.gy/CAgD2.jpg](http://snag.gy/CAgD2.jpg)
 * When someone logs in they will see a single avatar with/without their login name
   underneath, correct? I want them to see 3 images similar to the screen shot I
   included but instead of avatars I want to pull 3 images from my media library
   and link them to different pages. The images need to be equally spaced as well
   obviously.
 * Thanks for your help!
 *  Plugin Author [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/login-previewphp-customizzation/#post-5332170)
 * There are three options:
    1. You can replace by yourself the line 17 of _login-preview.php_ with the corresponding
       code.
    2. We can do it for you, hardcoding the images directly (1h)
    3. We can do it for you, making a custom code where you can change the images from
       the options page of the plugin (2h30). Including these code (if you want) in
       the main trunk of this plugin, so you will receive updates from the plugin directly
       without applying any patch
 * Images will be linked to any URL?
 * Please, tell us. 2nd and 3rd options need to be contact through email via contacto(
   at)codection(dot)com

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘login-preview.php customization’ is closed to new replies.

 * ![](https://ps.w.org/clean-login/assets/icon-256x256.png?rev=1602118)
 * [Clean Login](https://wordpress.org/plugins/clean-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/clean-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/clean-login/)
 * [Active Topics](https://wordpress.org/support/plugin/clean-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/clean-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/clean-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/login-previewphp-customizzation/#post-5332170)
 * Status: resolved