title: Displaying Woocommerce products dropdown from same category in a page
body: <p>I am trying to list all the products within the same category in a dropdown on a Wordpress page.</p>
  <p>I tried using <em><a href="https://stackoverflow.com/questions/51823551/products-dropdown-from-same-category-inside-woocommerce-product-short-descriptio/51825426#51825426">Products dropdown from same category inside Woocommerce product short description</a></em> answer code. however, it only works within the product short description or product description. It is displaying nothing when I put the shortcode <code>[products_dropdown]</code> in a page.</p>
  <p>Is there a way I can use the shortcode <code>[products_dropdown]</code> in a page?</p>