Title: Extending login widget template
Last modified: January 18, 2018

---

# Extending login widget template

 *  [dynomiteqc](https://wordpress.org/support/users/dynomiteqc/)
 * (@dynomiteqc)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/extending-login-widget-template/)
 * Hi!
    I am looking to extend template files in order to safely add code to it,
   but there is where i get stuck. I did extend this file: `..wp-content/plugins/
   login-with-ajax/widget/divs-only/widget_out.php` to this path: `..wp-content/
   themes/MY-THEME/plugins/login-with-ajax/widget/divs-only/widget_out.php`
 * But i cant seem to be able to call my template using this:
    `<?php login_with_ajax(
   array("template"=>"divs-only")); ?>` or this `<?php login_with_ajax(array("template"
   =>"plugins/login-with-ajax/widget/divs-only")); ?>`
 * I can’t seem to work this out. What did I miss?
    Thank you.

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

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/extending-login-widget-template/#post-9881907)
 * Hi,
 * If you set _divs-only_ as the default template in settings, does the plugin use
   your version of that template or the default version?
 *  Thread Starter [dynomiteqc](https://wordpress.org/support/users/dynomiteqc/)
 * (@dynomiteqc)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/extending-login-widget-template/#post-9881958)
 * Hi! it uses the plugin’s default “divs-only” template.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/extending-login-widget-template/#post-9890625)
 * Which version of Login With Ajax and WordPress are you using?
 *  Thread Starter [dynomiteqc](https://wordpress.org/support/users/dynomiteqc/)
 * (@dynomiteqc)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/extending-login-widget-template/#post-9890917)
 * Thank you for your answer.
    I do use: WP – 4.9.2 LWA – 3.1.7

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

The topic ‘Extending login widget template’ is closed to new replies.

 * ![](https://ps.w.org/login-with-ajax/assets/icon-256x256.png?rev=976165)
 * [Login With Ajax - Fast Logins, 2FA, Redirects](https://wordpress.org/plugins/login-with-ajax/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/login-with-ajax/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/login-with-ajax/)
 * [Active Topics](https://wordpress.org/support/plugin/login-with-ajax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/login-with-ajax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/login-with-ajax/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [extend](https://wordpress.org/support/topic-tag/extend/)
 * [template](https://wordpress.org/support/topic-tag/template/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 4 replies
 * 2 participants
 * Last reply from: [dynomiteqc](https://wordpress.org/support/users/dynomiteqc/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/extending-login-widget-template/#post-9890917)
 * Status: not resolved