Title: Shortcode for custom slug
Last modified: July 12, 2022

---

# Shortcode for custom slug

 *  Resolved [mynetflixtain](https://wordpress.org/support/users/mynetflixtain/)
 * (@mynetflixtain)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/)
 * I want to generate a shortcode for each endpoint of woocommerce my account page,
   please, how do I go about it using this plugin.

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

 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/#post-15817202)
 * Hi [@mynetflixtain](https://wordpress.org/support/users/mynetflixtain/),
 * With the Shortcoder plugin if you have HTML/CSS/JavaScript code snippets then
   you can create “shortcodes” for them.
 * If you are programming using PHP, then you can create a shortcode directly using
   the WordPress Shortcode API.
 * Thanks,
    Aakash
 *  Thread Starter [mynetflixtain](https://wordpress.org/support/users/mynetflixtain/)
 * (@mynetflixtain)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/#post-15817207)
 * Please can you guide me through, using the endpoints on the popular woocommerce
   my account page that has these menu: downloads, address etc
 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/#post-15817625)
 * I guess it is best if this is discussed with woocommerce team. They may guide
   on what you are expecting.
 * Since this is not related to shortcoder, I’m not sure how I can help. But I was
   able to find a document in woocommerce site – [https://woocommerce.com/document/woocommerce-endpoints-2-1/](https://woocommerce.com/document/woocommerce-endpoints-2-1/)
 * You may also check out their API documentation page for more details.
 *  Thread Starter [mynetflixtain](https://wordpress.org/support/users/mynetflixtain/)
 * (@mynetflixtain)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/#post-15817644)
 * Okay,what I meant is that can I generate a shortcode from my page or post link
   itself, for example, mydomainname.com/about-us, I want to generate a shortcode
   from my page existing link, is it possible ?
 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/#post-15817737)
 * With this plugin, we can create shortcode for HTML/CSS/JS code snippets only.
 * You might have to create shortcode programmatically with PHP and use woocommerce
   api in that.

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

The topic ‘Shortcode for custom slug’ is closed to new replies.

 * ![](https://ps.w.org/shortcoder/assets/icon.svg?rev=2222236)
 * [Shortcoder — Create Shortcodes for Anything](https://wordpress.org/plugins/shortcoder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcoder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcoder/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcoder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcoder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcoder/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [vaakash](https://wordpress.org/support/users/vaakash/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-custom-slug/#post-15817737)
 * Status: resolved