Title: shorcode
Last modified: March 3, 2020

---

# shorcode

 *  Resolved [luigi](https://wordpress.org/support/users/corlui/)
 * (@corlui)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shorcode-5/)
 * Hi and compliment your plugin,
    is it possible when you created a page to make
   it private for members? if you can know how to do it thank you very much Luigi
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshorcode-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [luigi](https://wordpress.org/support/users/corlui/)
 * (@corlui)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shorcode-5/#post-12503920)
 * Turning, turning and solving all thanks
 *  Plugin Author [Nahid Ferdous Mohit](https://wordpress.org/support/users/nfmohit/)
 * (@nfmohit)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/shorcode-5/#post-12508749)
 * Hey there [@corlui](https://wordpress.org/support/users/corlui/) !
    I hope you
   are having a great day!
 * I’m sorry that I took so long in getting back to you. I’m glad to hear that you
   were able to resolve this issue.
 * For future reference just in case anyone else is looking for this, you can try
   the following custom code:
 *     ```
       function exclude_tab_if_not_personal_profile() {
           if ( ! bp_is_my_profile() ) {
               bp_core_remove_nav_item( 'test' );
           }
       }
       add_action( 'bp_init', 'exclude_tab_if_not_personal_profile' );
       ```
   
 * You’ll need to replace `test` with the slug of your custom menu page.
 * I hope the above helps. Please let me know if you need any further assistance
   regarding this, or anything else. Thanks!
 * If this plugin was useful to you, I’d really appreciate if you could [share your feedback regarding the plugin in the form of a review](https://wordpress.org/support/plugin/bp-custom-menu/reviews/#new-post)
   so that it can help other users seeking a similar solution.
 * Kind regards,
    Nahid

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

The topic ‘shorcode’ is closed to new replies.

 * ![](https://ps.w.org/bp-custom-menu/assets/icon-256x256.png?rev=2128286)
 * [Custom Profile Menu for BuddyPress](https://wordpress.org/plugins/bp-custom-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-custom-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-custom-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-custom-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-custom-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-custom-menu/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Nahid Ferdous Mohit](https://wordpress.org/support/users/nfmohit/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/shorcode-5/#post-12508749)
 * Status: resolved