WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Use Registered Username for Author

[Resolved] Use Registered Username for Author

Viewing 2 replies - 1 through 2 (of 2 total)
  • downFast
    Member

    @downfast

    if (is_user_logged_in()) {
        // the user is logged in, so display the submission form
        if (function_exists('user_submitted_posts')) user_submitted_posts();
    } else {
        // the user is not logged in, so redirect to any URL and exit
        header('Location: http://example.com/');
        exit;
    }

    As the FAQ says: http://wordpress.org/plugins/user-submitted-posts/faq/

    Plugin Author Jeff Starr
    Participant

    @specialk

    Yes this is an excellent example of why it’s important to always read the plugin documentation (e.g., readme.txt) before using any WP plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Use Registered Username for Author’ is closed to new replies.