Title: groups &#8211; login shortcode
Last modified: November 24, 2016

---

# groups – login shortcode

 *  [maxident](https://wordpress.org/support/users/maxident/)
 * (@maxident)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/groups-login-shortcode/)
 * I am looking for additional documentation on how to use the [groups_login] shortcode
   as I am not sure how to make it work correctly.The documentation on the Implementing
   it on an access free site it does not show when logged in. When logged out it
   shows a login form where the user should fill in username and password plus a
   login button, thats all good. But when trying to set my courser in one of the
   entry fields I get redirected directly to one of the subcategories of my site
   without being able to enter username or password.
 * So far I am using groups only to restrict certain content to particular user 
   groups where needed. All logged out users and logged in users can see the hole
   website apart from the few sections that are getting restricted to particular
   groups.
 * I would be interested in making the whole website only accessible when being 
   registered and logged in. In addition I would restrict certain content sections
   to user groups who have the necessary permission the way I already do it.

Viewing 1 replies (of 1 total)

 *  [gtsiokos](https://wordpress.org/support/users/gtsiokos/)
 * (@gtsiokos)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/groups-login-shortcode/#post-8478630)
 * Hi maxident,
 * Does the redirect occur to all forms on your site? What happens if you try to
   fill a searchform or a contact form in one of your pages? Basically this shortcode
   renders a WP login form using wp_login_form(…) function.
 * In order to restrict the whole website, you should have a look at [Groups Blog Protect](http://docs.itthinx.com/document/groups-blog-protect/),
   a free plugin that restricts access only to members of Registered group.
 * Kind regards,
    George

Viewing 1 replies (of 1 total)

The topic ‘groups – login shortcode’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [access restriction](https://wordpress.org/support/topic-tag/access-restriction/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [gtsiokos](https://wordpress.org/support/users/gtsiokos/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/groups-login-shortcode/#post-8478630)
 * Status: not resolved