Title: shortcode not work
Last modified: July 10, 2022

---

# shortcode not work

 *  Resolved [majidazad](https://wordpress.org/support/users/majidazad/)
 * (@majidazad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/)
 * hello.
    i have created a page in order to show products on sale.i put a shortcode
   in description part of page.i mean not title of page.but result is the text of
   shortcode instead of list of products. any help? thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-not-work-13%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Juan G. (woo-hc)](https://wordpress.org/support/users/judagutor/)
 * (@judagutor)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15813308)
 * Hi [@majidazad](https://wordpress.org/support/users/majidazad/)!
 * Thank you for reaching out.
 * If you want to set a page with on-sale products, you could do it using the `[
   sale_products]` shortcode on the page you created for that.
 * If you want to add it, once you are editing the page, search for the shortcode
   block and then add the `[sale_products]` shortcode. Then, press the **Update**
   button, and your page should display all items that are on sale.
 * ![](//i.ibb.co/N3YmVbC/jafknadgs.gif)”)
 * More about WooCommerce shortcodes and how to use them here:
    [https://woocommerce.com/document/woocommerce-shortcodes/#how-to-use-shortcodes](https://woocommerce.com/document/woocommerce-shortcodes/#how-to-use-shortcodes)
 * I hope this helps!
 *  Thread Starter [majidazad](https://wordpress.org/support/users/majidazad/)
 * (@majidazad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15813728)
 * thanks.it was helpful.
    can you help me to know where is the shortcode part while
   editing a page? i have no shortcode part in page editor.
 *  Thread Starter [majidazad](https://wordpress.org/support/users/majidazad/)
 * (@majidazad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15813734)
 * first part of your video is so fast that i did not understand how to reach a 
   shortcode box.
 *  Thread Starter [majidazad](https://wordpress.org/support/users/majidazad/)
 * (@majidazad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15813804)
 * i did it.but still the text of shortcode is shown not the result of shortcodes
   runnning.
 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15814510)
 * Hi [@majidazad](https://wordpress.org/support/users/majidazad/)
 * When viewing a page or post in WordPress you’d search for the shortcode block.
   After adding the shortcode block to a page or post you’d then paste the shortcode
   within that block.
 * You could as an alternative also use the On Sale Products block which comes with
   WooCommerce. This can be inserted into a post or page of WordPress when using
   the default WordPress post editor.
 * [https://snipboard.io/JQgNkF.jpg](https://snipboard.io/JQgNkF.jpg)
 *  Thread Starter [majidazad](https://wordpress.org/support/users/majidazad/)
 * (@majidazad)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15814856)
 * thanks.the alternative way was helpfull and did the job.
 *  Plugin Support [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * (@stuartduff)
 * Automattic Happiness Engineer
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15814978)
 * Hey [@majidazad](https://wordpress.org/support/users/majidazad/)
 * I’m happy I could help and I’ll set this topic as resolved. If you require any
   assistance in the future please open a new support topic on the forums.

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

The topic ‘shortcode not work’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Stuart Duff – a11n](https://wordpress.org/support/users/stuartduff/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-not-work-13/#post-15814978)
 * Status: resolved