Multi-language set-up via Polylang

Since version PRO 1.92 & Free 2.12 plugin was integrated with a Polylang plugin, so you could easily set-up public messages per language. Sections that can be translated marked as a “MultiLanguage text“. To change the Current language please use the Admin Bar Switcher: Also in the ACTIONS / REDIRECTS […]

Restrict Content Pro integration

There are 2 ways to integrate the Restrict Content Pro. 1st: streamless – replace the plugin registration form with a Restrict Content Pro. 2nd: use the default form but after redirect to the Restrict Content Pro registration page where the user could select his plan: Advanced tweaks To open the […]

Shortcode: resrtict page/post content for not logged in

To hide some content for not logged in users: [lrm_restricted restricted_text”<h2>Please login/register to see this content!</h2>” default_tab=”register” role=”” capacity=””]Content[/lrm_restricted] To show some content only for not logged in users: [lrm_for_not_logged]Content[/lrm_for_not_logged]

Attach modal to the custom link/button anywhere on the site

If you want to display a modal login/register popup when user click s on a custom place where you can’t add the plugin lrm-login class you could use the custom selectors: In our example case with adding the class “.edd_checkout_register_login” to the extra registration selector on click to the “Iniciar […]

Restrict content for the not logged in users

Ho hide the content for the not logged in users and display the inline login form wrap the content with a shortcode: [lrm_restricted restricted_text=”<h2>Please login/register to see this content!</h2>” restricted_text default_tab=”register”]CONTENT HERE[lrm_restricted] To display the content for only not logged in users whar it with a: [lrm_for_not_logged shortcode_is_not_logged=””]CONTENT[lrm_for_not_logged]

Error while trying to activate the license

If you have error “Connection failed to the License Key API server. Try again later.” while trying to activate the license try the following: Add to your wp-config.php define(“LRM_API_URL”, ‘https://dev.maxim-kaminsky.com/mk-api/’);

Debugging login/registration issues

In case if you have issues with a cache after the login try to add define(“LRM_AJAX_URL_USE_ADMIN”, 1); to your wp-config. If the problem does not relate with the cache: You have to open the “Advanced” tab and enable option: Enable debug mode for public AJAX requests. After you can share […]