Title: Custom menu tab problem
Last modified: September 1, 2016

---

# Custom menu tab problem

 *  [lwl071083](https://wordpress.org/support/users/lwl071083/)
 * (@lwl071083)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/custom-menu-tab-problem/)
 * Hello,guys
    I have installed a custom menu tab plugin. It can post anything with
   an editor. My purpose is showing the woocommerce order with pop up evaluation
   form. Yet, my code is not working. I cannot pop up the form as I don’t know why.
   I can do it by directly accessing my php document. Anyone can help me? I want
   to successfully have a pop up form in a custom tab.
 * Photo :
    This is what I do [](https://s32.postimg.org/eclwww791/Screenshot_from_2016_07_18_11_43_03.png)
 * But when I press the link, it did pop up.
    I want such effect : [](https://s32.postimg.org/eclwww791/Screenshot_from_2016_07_18_11_43_03.png)
 * [https://wordpress.org/plugins/ultimate-member/](https://wordpress.org/plugins/ultimate-member/)

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

 *  Thread Starter [lwl071083](https://wordpress.org/support/users/lwl071083/)
 * (@lwl071083)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/custom-menu-tab-problem/#post-7580120)
 * I want this result when I pressed the link(the code is ready but it does not 
   work in custom tab)
 *  Thread Starter [lwl071083](https://wordpress.org/support/users/lwl071083/)
 * (@lwl071083)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/custom-menu-tab-problem/#post-7580121)
 * [https://s31.postimg.org/ewzxm2b4r/Screenshot_from_2016_07_18_11_45_58.png](https://s31.postimg.org/ewzxm2b4r/Screenshot_from_2016_07_18_11_45_58.png)
 * I guess whether it is shortcode problem… Here is my shortcode.
 *     ```
       function shortcode_my_orders( $atts ) {
           extract( shortcode_atts( array(
               'order_count' => -1
           ), $atts ) );
   
           ob_start();
           wc_get_template( 'myaccount/my-orders.php', array(
               'current_user'  => get_user_by( 'id', get_current_user_id() ),
               'order_count'   => $order_count
           ) );
           return ob_get_clean();
       }
       add_shortcode('my_orders', 'shortcode_my_orders');
       ```
   

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

The topic ‘Custom menu tab problem’ 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/)

 * 2 replies
 * 1 participant
 * Last reply from: [lwl071083](https://wordpress.org/support/users/lwl071083/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/custom-menu-tab-problem/#post-7580121)
 * Status: not resolved