Title: Use only inline shortcode
Last modified: May 11, 2021

---

# Use only inline shortcode

 *  [atoupet](https://wordpress.org/support/users/atoupet/)
 * (@atoupet)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/)
 * Thanks for this great plugin!
    Question for anyone who can help me 😀
 * Is it possible to disable the default modal and only use forms by shortcode?
 * I would like to use 2 shortcode to display login and register in the same page,
   but two different places.
 * Thanks a lot
    -  This topic was modified 4 years, 11 months ago by [atoupet](https://wordpress.org/support/users/atoupet/).

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

 *  Thread Starter [atoupet](https://wordpress.org/support/users/atoupet/)
 * (@atoupet)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14426917)
 * PS: I have the Pro version.
 *  Plugin Author [Max K](https://wordpress.org/support/users/kaminskym/)
 * (@kaminskym)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14428727)
 * Hi,
 * So you ask how to use shortcodes or how to remove modal?
    If remove modal – what
   is a reason? Do you want to remove redundant code?
 *  Thread Starter [atoupet](https://wordpress.org/support/users/atoupet/)
 * (@atoupet)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14429803)
 * Both 🙂
    I don’t want the shortcode to print both of forms. That makes duplicate
   IDs in html code and some warmings in console.
 * I would like to be free to print form where I want, and ONLY if I want (not on
   each page).
 *  Plugin Author [Max K](https://wordpress.org/support/users/kaminskym/)
 * (@kaminskym)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14430413)
 * add to your wp-config.php
 * `define('LRM_LOAD_ASSETS_ONLY_FOR_INLINE', true);`
 * and the form & styles will be enqueued only on pages with an inline form.
 *  Thread Starter [atoupet](https://wordpress.org/support/users/atoupet/)
 * (@atoupet)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14430418)
 * Great, I’ll give it a try.
    And is it possible to print only 1 of the 2 forms
   in a shortcode?
 * Thanks
 *  Plugin Author [Max K](https://wordpress.org/support/users/kaminskym/)
 * (@kaminskym)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14448464)
 * No, it’s not possible.
 * Only if hide the Tabs in the settings, then the second form will be not visible.

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

The topic ‘Use only inline shortcode’ is closed to new replies.

 * ![](https://ps.w.org/ajax-login-and-registration-modal-popup/assets/icon-128x128.
   jpg?rev=2185221)
 * [AJAX Login and Registration modal popup + inline form](https://wordpress.org/plugins/ajax-login-and-registration-modal-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-login-and-registration-modal-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-login-and-registration-modal-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-login-and-registration-modal-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-login-and-registration-modal-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-login-and-registration-modal-popup/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Max K](https://wordpress.org/support/users/kaminskym/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/use-only-inline-shortcode/#post-14448464)
 * Status: not resolved