Title: Restrict Content
Last modified: September 16, 2019

---

# Restrict Content

 *  [mb299](https://wordpress.org/support/users/mb299/)
 * (@mb299)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-3/)
 * Hello..
    I am using WP Ver :5.2.3 & GD Ver :2.0.0.66
 * Its a listing website using Supreme Directory theme. The plugins that i am using
   are Geo Directory, Ninja Forms, Code Snippets & Ultimate Member.
    My Question:
   Non-logged in users are free to visit my website & use the search function too.
   Once the search results are displayed, they should see a brief summary of the
   place without any contact details. However, to see the complete details, I would
   want the non-logged in visitors to login/register first – A small message should
   pop-up that the content is restricted & then they are redirected to login page.
 * Hope I have made myself clear. Looking forward to a solution.
    Many Thanks /Manish

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-3/#post-11936826)
 * Hi [@mb299](https://wordpress.org/support/users/mb299/),
 * You can use one of our shortcodes.
    Please [check this section](https://docs.ultimatemember.com/category/175-content-restriction)
   for additional info.
 * Regards.
 *  Thread Starter [mb299](https://wordpress.org/support/users/mb299/)
 * (@mb299)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-3/#post-11938921)
 * Hi,
 * Thank you for a prompt reply. I think the option 1
    [um_loggedin] This text can
   only be seen by logged in users [/um_loggedin] is most suitable.
 * As I mentioned , am using GeoDirectory and this shortcode may be used in the 
   Details or Archive page. Assuming I want to hide the phone number of place/listing
   on my website, would you have an idea where exactly should I use this shortcode?
 * Many thanks.
 *  Thread Starter [mb299](https://wordpress.org/support/users/mb299/)
 * (@mb299)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-3/#post-11941275)
 * I used your suggestion and with help from GeoDirectory, I placed the shortcode
   at the right section and it worked like a charm.
 * Thank you so much for your help.
 *  Thread Starter [mb299](https://wordpress.org/support/users/mb299/)
 * (@mb299)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/restrict-content-3/#post-11974136)
 * Hi,
    Need a small help here. The official message shown to logged out users is“
   The content has been restricted to logged in users only. Please login to view
   this content”.
 * Now “Login” in the above message is a redirect url. I need users to go to a different
   page/ url. Please let me know where can i change this.
 * Appreciate a prompt reply as i am almost going live with my website.
 * Thanks
    Manish
 *  Thread Starter [mb299](https://wordpress.org/support/users/mb299/)
 * (@mb299)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/restrict-content-3/#post-11977604)
 * Hi [@ultimatemembersupport](https://wordpress.org/support/users/ultimatemembersupport/)
 * Need a small help here. The official message shown to logged out users is “The
   content has been restricted to logged in users only. Please login to view this
   content”.
 * Now “Login” in the above message is a redirect url. I need users to go to a different
   page/ url. Please let me know where can i change this.
 * Appreciate a prompt reply as i am almost going live with my website.
 * Thanks
    Manish

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Restrict Content’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [mb299](https://wordpress.org/support/users/mb299/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/restrict-content-3/#post-11977604)
 * Status: not resolved