• Resolved Prabhat Dhakal

    (@prabhatdhakal1990)


    Hello,
    I am trying to add the categories in my wordpress site. I am able to do, however i run into some trouble.

    To display the categories i am using this shortcode “[product_categories limit=”6″ columns=”6″ parent=”0″ orderby=”rand”]

    The parent categiries comes just fine. However I have noticed that only 6 categories can be diaplayed. The moment I change the above shortcode limit=”7″ and more, then the categories will be displayed on the full page. Also i though to increase the column=”7″ still it doesn’t work.

    How do i get the all categories displayed on one row?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Prabhat Dhakal

    (@prabhatdhakal1990)

    Also when I tried to inspect the page using chrome inspect tool, the class selected is “woocommerce columns-6” . Which basically means that the particular row can have only 6 columns,

    Is there a way to change how this works? I would like the woocommerce columns-12 because there are more than 6 categories that I have to display in a single row.

    Please help.

    Thread Starter Prabhat Dhakal

    (@prabhatdhakal1990)

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @prabhatdhakal1990

    Thanks for your question.

    `To display the categories i am using this shortcode “[product_categories limit=”6″ columns=”6″ parent=”0″ orderby=”rand”]”

    The parent categiries comes just fine. However I have noticed that only 6 categories can be diaplayed. The moment I change the above shortcode limit=”7″ and more, then the categories will be displayed on the full page. Also i though to increase the column=”7″ still it doesn’t work.

    How do i get the all categories displayed on one row?`

    So you want to display all categories in one row.

    I have tested on my test site using Storefront theme. By the default when using [product_categories], all categories are displayed but they’re in 4 column by default.

    I was able only similar to your case, using 6 columns max: [product_categories columns="6"].

    It’s seems to be by default capped at 6 columns max.


    Link to image: https://d.pr/i/uL6XRl

    Therefore, you then would need some code customization here. We highly recommend contacting one of the services on our Customizations page

    I hope that helps!

    Hi @prabhatdhakal1990

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

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

The topic ‘managing colums in woo shortcodes’ is closed to new replies.