1. Home
  2. Docs
  3. Plugin Documentation
  4. Shortcodes & Triggers

Shortcodes & Triggers

Shortcodes

StranoWeb Ajax Login comes with several shortcodes that can be used to insert content inside posts and pages.

  • [swal_socials_login_buttons] – Shows social login buttons.
  • [swal_account_forms] – Shows Login, Register, Forgot Password forms in the same page.
  • [swal_show_login_form] – Shows Login form.
  • [swal_show_register_form] – Shows Register form.
  • [swal_show_forgot_password_form] – Shows Forgot Password form.
  • [swal_show_reset_password_form] – Shows Reset Password form.
  • [swal_show_logout_form] – Shows Logout form.

New shortcodes from version 1.3.0

  • [swal_show_login_form_only hidelink="false"] – Shows flat Login form, hidelink is optional, set to true to hide the form title.
  • [swal_show_register_form_only hidelink="false"] – Shows flat Register form, hidelink is optional, set to true to hide the form title.
  • [swal_show_forgot_password_form_only hidelink="false"] – Shows flat Forgot Password form, hidelink is optional, set to true to hide the form title.

Triggers

To open StranoWeb Ajax Login modal popups simply add any of the following css classes to any HTML element.

Note: all the classes open logout popup if the user is logged in.

Was this article helpful to you? Yes No 1