Title: Adding shortcode to dashboard
Last modified: September 11, 2019

---

# Adding shortcode to dashboard

 *  Resolved [suvamss](https://wordpress.org/support/users/suvamss/)
 * (@suvamss)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/)
 * Hey, is there any way to add a shortcode to the vendor dashboard? The shortcode
   should function in the same way as it does on other pages of wordpress

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

 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11924263)
 * Hi [@suvamss](https://wordpress.org/support/users/suvamss/), thanks for reaching
   WCMp Support!!
 * Our vendor dashboard is itself a page and has it’s own shortcode i.e. [vendor_dashboard]
 * So, may I know exactly what flow are you looking for (i.e. the requiremnt), so
   I can help you out further.
 *  Thread Starter [suvamss](https://wordpress.org/support/users/suvamss/)
 * (@suvamss)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11931958)
 * Hey, so, I was trying to add a new custom menu in the vendor dashboard by using
   wcmp hooks given in this page – [https://wc-marketplace.com/knowledgebase/wcmp-hooks-filters/#1](https://wc-marketplace.com/knowledgebase/wcmp-hooks-filters/#1)(
   The last section regarding custom menu)
 * I added the snippet in the child theme’s functions.php and it did create a custom
   menu in my dashboard. I wanted to add the shortcode in that section, but when
   I click on that menu it takes me to a 404 page. Could you please check the snippet
   and let me know if there’s anything else that I need to do?
 *  Thread Starter [suvamss](https://wordpress.org/support/users/suvamss/)
 * (@suvamss)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11931973)
 * I resolved the issue of the 404 page, but still need to find out how to add a
   shortcode to the custom menu.
 * [https://wc-marketplace.com/support-forum/topic/possible-to-add-a-new-vendor-page/](https://wc-marketplace.com/support-forum/topic/possible-to-add-a-new-vendor-page/)
 * I couldn’t understand the solution given in this forum. Would be great if you
   could tell me how to do it.
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11936908)
 * [@suvamss](https://wordpress.org/support/users/suvamss/), The vendor dashboard
   page comes from a shortcode.
 * All the menus are an endpoint of this vendor dashboard page. So, to add content
   for your custom menu, you may use any of the two option :
 * – Create a custom endpoint and add the content.
 * – Direct the vendor to another page and use shortcode for that custom page.
 * Let us know if you have any further query.
 *  Thread Starter [suvamss](https://wordpress.org/support/users/suvamss/)
 * (@suvamss)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11939289)
 * I have already created the endpoint and there’s a new tab in the menu section
   now, but in the content section, when I try to add a shortcode the way I add 
   in a regular page, it doesn’t show up. Is there any additional code I need to
   add in the content section to show the shortcode?
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11939662)
 * [@suvamss](https://wordpress.org/support/users/suvamss/), as you have to use 
   shortcode to create the custom page, hence you need to direct the vendor to that
   custom page via this custom menu.
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11948352)
 * [@suvamss](https://wordpress.org/support/users/suvamss/), for further help, you
   can check this thread – [https://wc-marketplace.com/support-forum/topic/adding-shortcode-to-vendor-dashboard/#post-74210](https://wc-marketplace.com/support-forum/topic/adding-shortcode-to-vendor-dashboard/#post-74210)

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

The topic ‘Adding shortcode to dashboard’ is closed to new replies.

 * ![](https://ps.w.org/dc-woocommerce-multi-vendor/assets/icon-256x256.gif?rev=
   3314608)
 * [MultiVendorX - WooCommerce Multivendor Marketplace AI Powered Solutions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/)
 * [Active Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [DualCube](https://wordpress.org/support/users/dualcube/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/adding-shortcode-to-dashboard/#post-11948352)
 * Status: resolved