WordPress.org

Forums

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

  1. sisintl
    Member
    Posted 1 year 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 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Submitted Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.