• Resolved thodus

    (@thodus)


    Hey Jeff. Great Plugin. Thank you!

    Theres ist a problem with a german translation.
    If you are not logged in, the shortcode [user-submitted-posts] shows:

    “Bitte Einloggen Inhalte einreichen!”

    This is not a good translation. How can I change the text for this shortcode-text?

    It’s funny, cause when you google this wrong text, there are so many websites using it 😉

    Thank you in advance.
    TD

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hi @thodus, glad to help.

    I only speak one language so I use free translation services for the language files. It’s not ideal but is better than nothing imho.

    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="http://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.

    Alternately you could use a free plugin such as Loco Translate to create your own custom translation file.

Viewing 1 replies (of 1 total)

The topic ‘[user-submitted-posts]-text’ is closed to new replies.