Support » Plugin: Login With Ajax » shortcode template use

  • Resolved keesjan


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl


    with regards to templates, you can read on the plugin FAQ


    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.

    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/]
    [login-with-ajax wp-content/themes/theme-name/plugins/login-with-ajax/]


    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

    You template path on your theme should be.

    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.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘shortcode template use’ is closed to new replies.