Title: shortcode template use
Last modified: January 31, 2020

---

# shortcode template use

 *  Resolved [keesjan](https://wordpress.org/support/users/keesjan/)
 * (@keesjan)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/shortcode-template-use/)
 * Hi,
    Iam no developer so want to understand the shortcode properly (maybe add
   some examples to the explanation text)
 * If I want to use a style (popup modale) used by the theme 15zine, should I then
   pinpoint to the directory like this?
    [login-with-ajax template=”/private_html/
   wp-content/themes/15zine/plugins/login-with-ajax/”] Should I use the server path
   or the path referring to the website name?
 * the map structure: within /login-with-ajax/
    /login-with-ajax/ /login-with-ajax/
   default/ /login-with-ajax/default/widget_in.php /login-with-ajax/default/widget_out.
   php /login-with-ajax/login-with-ajax.js /login-with-ajax/login-with-ajax.source.
   js /login-with-ajax/widget.css

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/shortcode-template-use/#post-12397213)
 * with regards to templates, you can read on the plugin FAQ
 * e.g.
 * > If you wanted to change some text on the default theme, you could simply copy
   > wp-content/plugins/login-with-ajax/widget/default to wp-content/themes/yourtheme/
   > plugins/login-with-ajax/default and edit the files as needed.
   > If you need to change the CSS file, copy the file wp-content/plugins/login-
   > with-ajax/widget/widget.css over to wp-content/themes/yourtheme/plugins/login-
   > with-ajax/widget.css and edit accordingly.
 *  Thread Starter [keesjan](https://wordpress.org/support/users/keesjan/)
 * (@keesjan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shortcode-template-use/#post-12446358)
 * hi, i read the faqs,
    its not cristal clear: template – (template name/directory)
   If this template directory exists, this template will be used. Default is ‘default’
   template.
 * does this mean:
    [login-with-ajax template – wp-content/themes/theme-name/plugins/
   login-with-ajax/] or [login-with-ajax wp-content/themes/theme-name/plugins/login-
   with-ajax/]
 *  [timrv](https://wordpress.org/support/users/timrv/)
 * (@timrv)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shortcode-template-use/#post-12451965)
 * Hello,
 * The default that is mentioned is the default folder named on the plugin files.
 * For example if you want to modify the file “widget_in.php” which can be found
   under
    “wp-content/plugins/login-with-ajax/widget/default/widget_in.php”
 * You template path on your theme should be.
    wp-content/themes/yourtheme/plugins/
   login-with-ajax/default/widget_in.php
 * using template files on your theme is a way to prevent your changes to be overriden
   when you made any update on the plugin as WordPress would only override all the
   files on the plugin when the plugin updates and not the template files you copied
   on your theme.
 * What WP does is, It detects first if a file exist under your theme. ie: “wp-content/
   themes/yourtheme/plugins/login-with-ajax/default/widget_in.php” then if those
   file doesn’t exist then it would use the one your plugins folder.
 *  Thread Starter [keesjan](https://wordpress.org/support/users/keesjan/)
 * (@keesjan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shortcode-template-use/#post-12465489)
 * Thank you

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

The topic ‘shortcode template use’ 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

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

 * 4 replies
 * 3 participants
 * Last reply from: [keesjan](https://wordpress.org/support/users/keesjan/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/shortcode-template-use/#post-12465489)
 * Status: resolved