Shortcodes

Follow below steps:
  • Go to the Premium Options tab of miniOrange 2-factor plugin.

    Click on premium options tab

  • Search "Enable Two-Factor using Shortcode" in the Premium Options tab.

    Enable 2fa using shortcode

We provide three Shortcodes:
  • [miniorange_enable2fa]:

    Add this shortcode to provide the option to turn on/off 2-factor by the user.

  • [mo2f_enable_reconfigure]:

    Add this shortcode to provide the option to reconfigure the Google Authenticator, Security Questions and OTP Over SMS by the user.

  • [mo2f_enable_rba_shortcode] :

    Add this shortcode to ‘Enable Remember Devie’ from your custom login form.

Enable Two factor Shortcode


Follow below steps to use [miniorange_enable2fa] Shortcode:
  • Go to the Pages from the vertical menu of WordPress and Click on Add New then add page Title.

    add new page

  • In the image below, Click on the plus icon to select shortcodePublish.

    adding shortcode to page

  • In the image below, Shortcode is my page title. Copy the shortcode from the plugin and paste the shortcode on the new page and then Publish.

    adding shortcode to page

  • After publishing this page, you will get preview link here open this preview link in another window.

    Preview-page

  • You can see the below image the shortcode of Enabled Two Factor is set successfully.

    enable-2fa-shortcode-on-page

Enable reconfigure Two-factor Shortcode


Follow below steps to use [mo2f_enable_reconfigure] shortcode:
  • Go to the Pages from the vertical menu of WordPress and Click on Add New then add page Title.

    add new page

  • In the image below, Shortcode is my page title. Copy the shortcode from the plugin and paste the shortcode on the new page and then Publish.

    reconfigure-2fa-shortcode

  • After publishing this page, you can get preview link here open this preview link in another window.

    preview-page-mo2f-reconfigure

  • Now, The shortcode of reconfiguring Two Factor for Google authenticator, Security Question and OTP Over SMS are set successfully.

    reconfigure-shortcode-enable-successfully

Enable rba Shortcode


Follow below steps to use [mo2f_enable_rba_shortcode] Shortcode:
  • Go to the Pages from the vertical menu of WordPress and Click on Add New then add page Title.

    add new page

  • Then copy the shortcode of Ultimate member form.

    ultimate-member-shortcode

  • Paste the shortcode of Ultimate member form on a newly added WordPress page then click on Publish.

    add-ultimate-member-shortcode-into-add-page

  • Now go to the plugin there is a link, below the shortcode feature click on the link.

    enable-rba-shortcode

  • Now in this field, you have to enter the Login Button Id or Form Id for identification.

    Open the newly created page containing Ultimate member form shortcode copy the Login Button Id from Ultimate member form.
    on-ulmiate-member-login-page

  • This is copied “um-submit-btn” Login button Id. paste Login Button Id and click on Save Settings.

    um-submite-btn

  • Also, Paste the Remeber Device shortcode given in the plugin on that newly added page.

    rba-shortcode

  • Then click on publish. Expand the permalink copy the link. Then Open that link in another tab.

    clicking-on-premalink

  • Now you can see the ultimate member login form, enter username and password then click on the login.

    ultimate-form

  • After this, the Two Factor Login pop up appears, validate the account.

    In the image below, I have validated my account by Email verification.
    two-factor-login-pop-up

  • Click on Yes to remember device. Now, when you log in from the same device, the user will bypass Two Factor.

    rbc-promt