-
Author
-
December 7, 2014 at 00:42 #37933ellosParticipant
Hi guys, setting up the theme and need to fogure put how to change the order of category columns on the home page.
Here – http://seventhqueen.com/themes/kleo/default-shop/ in the Shop by category section you have 4 coluns that represent categories.
Let’s say I want to reshuffle them and change the order in which they are displayed, how would I do that?Thanks a lot.
December 7, 2014 at 14:03 #37981sharmstrModeratorHello. That’s a woocommerce shortcode. Documentation on it is here: http://docs.woothemes.com/document/woocommerce-shortcodes/#section-13
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 16:42 #38002ellosParticipantSorry, you are not talking to a guy with strong Woo background…
According to the link it tlooks like whatever is under ‘array’ can be used as a setting in a shortcode, but I still need a bit of help.For example, can I use [product_categories number=”12″ parent=”0″ ids=”1,2,3″] ?
But even if I can, which order they will be displayed in?I underestand there is an ASC and DSC order – those are the only options?
Bottom line – thanks for the link but I still can’t really figure out if I can display categories in the specific order, that I set
Thanks.
ElijahDecember 7, 2014 at 16:57 #38004sharmstrModeratorSorry. My point was that its a function of woocommerce and not kleo. Did you search for an answer on the woocommerce forum? Looks like instead of sort by ‘name’ you can sort by ‘category order’.
https://support.woothemes.com/hc/communities/public/questions/202745676-Sort-categories?locale=en-us
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 17:07 #38008sharmstrModeratorHmmmmm, maybe not. Looks like only name and date are valid. I wonder if there is a plugin for that?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 17:10 #38009sharmstrModeratorI just thought of a hack that might work if you can’t figure it out via the shortcode. You could possibly use a 4 column row, then in each column, add the product_category shortcode, but set it to display 1 category and specify the category id.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 17:19 #38011sharmstrModeratorI just tested the hack and it works. Here’s the VC code. Just change all occurances of “42” to whatever category you want.
COPY CODE[vc_row][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][vc_column width="1/4"][product_categories number="1" columns="1" ids="42"][/vc_column][/vc_row]
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
December 7, 2014 at 21:32 #38061ellosParticipantI was actually thinking int he same direction too – 4 columns and specify which id to display, just wasn’t sure how to achieve that. Thank you, I will give it a try.
December 7, 2014 at 21:55 #38065sharmstrModeratorCool. The code I gave you might be difficult to use since you’ll have to insert into existing code using text view. But since you understand the concept, you can easily do it in VC by adding a row, chsosing 4 columns, add a text field to each column and paste [product_categories number=”1″ columns=”1″ ids=”42″] into each text field.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.