Support » Plugin: Post From Site » [Plugin: Post From Site] Shortcode – must be logged in to use on page when people are already logged

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am having the same issue. It works if I am logged in as an Administrator, but not as any other Role.

    Otherwise, this plugin does exactly what I need so I would really like to get this issue resolved so I can use it.

    make sure that your users have the ‘publish_post’ capability.

    I wanted to allow posting by non authors, but wanted submitters to be logged in. To accomplish this, I changed
    line 369 of post-from-site-class.php from….

    if (current_user_can('publish_posts') || $options['allow_anon']){

    to…..

    if (is_user_logged_in() || $options['allow_anon']){

    The setting for ‘allow_anon’ could also be deleted in my situation, but I left it in case I ever decide to allow anonymous submissions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Post From Site] Shortcode – must be logged in to use on page when people are already logged’ is closed to new replies.