Title: Set template from shortcode
Last modified: August 20, 2016

---

# Set template from shortcode

 *  [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/set-template-from-shortcode/)
 * G’day Marcus,
 * I just tried to set the template for a shortcode, and discovered that your shortcode
   function strips out the template parameter. This means that shortcodes can only
   get the default template. I reckon it would be useful to some people if you allowed
   this parameter, so that they can have different login forms on different pages,
   for example.
 * I got done what I wanted today by creating a separate template for the widget,
   which does support selecting a template, and using the default template only 
   for the shortcode (I only need one). So still this is a very flexible plugin 
   🙂
 * cheers,
    Ross
 * [http://wordpress.org/extend/plugins/login-with-ajax/](http://wordpress.org/extend/plugins/login-with-ajax/)

The topic ‘Set template from shortcode’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/set-template-from-shortcode/)
 * Status: not resolved