Title: Issues with custom code snippets
Last modified: September 12, 2025

---

# Issues with custom code snippets

 *  Resolved [califortia](https://wordpress.org/support/users/califortia/)
 * (@califortia)
 * [8 months, 4 weeks ago](https://wordpress.org/support/topic/issues-with-custom-code-snippets/)
 * Hello,
 * First off, thank you for this plug-in! It has great functionality and I appreciate
   how comprehensive the free version is. However, I ran into some issues with a
   couple of the custom code snippets provided on your website, and I was wondering
   if you might have a solution.
 * For the[ hide other user profiles](https://userswp.io/documentation/article/code-snippets/how-to-hide-user-profile-from-other-users/)
   code snippet, when a user clicks the profile link in the nav menu, it won’t let
   them access their own profile. Instead it instantly redirects them back to the
   home page. Is this intentional behavior? Is there a way to provide a generic 
   link that allows users to visit their own profile? (To clarify: a user can see
   their own profile if linked to it directly, username and all, but the generic
   profile link doesn’t work).
 * Second, for[ adding custom tabs to the user account page](https://userswp.io/documentation/article/code-snippets/how-to-add-new-tabs-to-user-account-page/),
   the code won’t activate. I’m using the Code Snippets plugin, and when I try activating
   it, it just says “An error occurred while attempting to activate”. Is there a
   problem with the code or do you think this is an issue on my end? (I don’t know
   anything about coding, if you can’t tell…)
 * I’m building the website locally so I don’t think I can provide a link to it 
   in action, but I’m sure I can provide screenshots or record a demo video if needed.
   I’m using the free version of UsersWP, Version 1.2.45.
 * Thank you very much, I really appreciate your time and assistance!

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

 *  Plugin Support [alexrollin](https://wordpress.org/support/users/alexrollin/)
 * (@alexrollin)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/issues-with-custom-code-snippets/#post-18642141)
 * Hello,
 * sorry for the trouble you are seeing on thee site!
 * Can you please create a support ticket on our site [https://userswp.io/support/](https://userswp.io/support/)
   for further help?
 *  Thread Starter [califortia](https://wordpress.org/support/users/califortia/)
 * (@califortia)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/issues-with-custom-code-snippets/#post-18642868)
 * Hi,
 * Sure, I just created a support ticket. Thank you!

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

The topic ‘Issues with custom code snippets’ is closed to new replies.

 * ![](https://ps.w.org/userswp/assets/icon-256x256.png?rev=2784318)
 * [UsersWP - Front-end login form, User Registration, User Profile & Members Directory plugin for WP](https://wordpress.org/plugins/userswp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/userswp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/userswp/)
 * [Active Topics](https://wordpress.org/support/plugin/userswp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/userswp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/userswp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [califortia](https://wordpress.org/support/users/califortia/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/issues-with-custom-code-snippets/#post-18642868)
 * Status: resolved