Support » Plugin: WooCommerce » ORDERBY doesnt work in shortcode

  • Resolved rex2630

    (@rex2630)


    Hello, whats wrong in this code? Because it doesnt work :/
    [product_categories limit=”1″ orderby=”menu_order”]

Viewing 4 replies - 1 through 4 (of 4 total)
  • If the limit is 1 you will get only 1 category, so it can’t be in order. Use -1 if you want them all. Ensure have you used ordinary quotes, not smart quotes:
    [product_categories limit="-1" orderby="menu_order"]

    Thread Starter rex2630

    (@rex2630)

    Does it work for you? It doesnt work for me

    Yes, works fine for me.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    It also works for me on my site. It looks like in your example they are smart quotes. I would recommend copying @lorro response example exactly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘ORDERBY doesnt work in shortcode’ is closed to new replies.