WordPress.org

Ready to get started?Download WordPress

Forums

User Submitted Posts
[resolved] Use Registered Username for Author (3 posts)

  1. sisintl
    Member
    Posted 10 months ago #

    I have "Use registered username for author" checked but all posts being submitted are having the assigned author as the admin. Is there something else that needs to be done for this to work?

    Thanks.

    http://wordpress.org/plugins/user-submitted-posts/

  2. downFast
    Member
    Posted 10 months ago #

    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/

  3. Jeff Starr
    Member
    Plugin Author

    Posted 10 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.