• Resolved salamzaban

    (@salamzaban)


    Hi

    Thanks for your plugin.

    When I chose this option that users need to be login for sending the post and when a user has not logined there is a short message to inform the user to login with a link that this link is exactly to the back end login page.

    For example I have installed a plugin to hide my back end login page from WP-defult to bla bla bla but your plugin find it and show it exactly. ??

    I think this text should not have link because we can add a text up or down of the short code of the plugin in any page or post or if it wants to show a link does not show the back end link login page.

    I have front-end login page with a different address.

    ****Please login****

    Without link is useful

    • This topic was modified 7 years, 6 months ago by salamzaban.
Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thanks for the great feedback.

    There isn’t an plugin setting to customize the login message, but it is possible using the provided filter hook. Here is an example:

    function usp_customize_login_required_message($message) {
    	return '<p>Please <a href="https://example.com/wp-login.php">register</a> to submit content.</p>';
    }
    add_filter('usp_require_login', 'usp_customize_login_required_message');

    So you can modify that however you would like, and then add it to your theme’s functions.php file.

Viewing 1 replies (of 1 total)
  • The topic ‘****Please login****’ is closed to new replies.