• Resolved mynetflixtain

    (@mynetflixtain)


    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

    (@vaakash)

    Hi @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

    (@mynetflixtain)

    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

    (@vaakash)

    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/

    You may also check out their API documentation page for more details.

    Thread Starter mynetflixtain

    (@mynetflixtain)

    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

    (@vaakash)

    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.