Example if you use it with Woocommerce, shortcode like:
[res-cat-slider cat_type=”taxonomy” cat=”” tax_name=”product_cat” custom_post=”product” list_tags=”” per_page=”” columns=”3″ style=”post” pos_menu=”horizontal” order_by=”date” order=”desc” auto_slide=”false” control_nav=”on” padding=”yes” show_parent_menu=”yes” image_ratio=”horizontal_rectangle” linkable=”on” /]
on cat=”” you fill slug (or id) of categories you want it display.
ex: I want display 2 categories has slug ‘the-news’ and ‘product-1’, I can fill: cat=”the-news, product-1″
Hope it can help you π
Thread Starter
Maasha
(@maasha)
Hi Kang,
Thank you for your help, but it still doesn’t work for me.
My product category name is “All” and the id is 796,797,798. I entered it but it didn’t work. Maybe I am entering it in the wrong place? Can you show me again using this information?
[res-cat-slider cat_type=”taxonomy” cat=”796, 797, 798″ tax_name=”All” custom_post=”” list_tags=”All” per_page=”” columns=”3″ style=”product” pos_menu=”horizontal” order_by=”date” order=”desc” auto_slide=”false” control_nav=”on” padding=”yes” show_parent_menu=”yes” image_ratio=”horizontal_rectangle” linkable=”on” /]
Thank you!! ^^
Thread Starter
Maasha
(@maasha)
All that shows up are my posts, not my product categories…I’m confused ;__;
Thread Starter
Maasha
(@maasha)
Ive tried to fix what i thought was the problem by adding it a proper category and even put the name
[res-cat-slider cat_type=”taxonomy” cat=”bath-and-beauty” tax_name=”Shop” custom_post=”” list_tags=”” per_page=”” columns=”3″ style=”product” pos_menu=”horizontal” order_by=”date” order=”desc” auto_slide=”false” control_nav=”on” padding=”yes” show_parent_menu=”yes” image_ratio=”horizontal_rectangle” linkable=”on” /]
yet it still says “Warning: You need to fill tax_name and custom_post in your shortcode”
This message is true, because I saw in your shortcodes has 2 properties is false.
Problem here: tax_name=”Shop” custom_post=””
You need fill taxonomy name for tax_name and Custom post type name for custom_post, if you use type is taxonomy you DO NOT EMPTY 2 PROPERTIES.
Go to your admin and go to screen edit a your category, you can see current url, it look like: wp-admin/edit-tags.php?action=edit&taxonomy=category&tag_ID=34&post_type=post
You see in my url: taxonomy=category and post_type=post
It’s 2 properties: tax_name and custom_post
Thread Starter
Maasha
(@maasha)
I think the I know what problem is…I am confused about the difference between
“taxonomy” and “tax_name” Where do you find each one?
And
Where do you find “custom_post” if it is for products…?
Kang, can you possibly please take 3 screenshots of the locations so I know what to do? I am a visual learner 555. Thank you for all your help and patience ^^
Thread Starter
Maasha
(@maasha)
my email is [email protected] if you would like to send me the screenshots ^^
See here:
http://prntscr.com/6btu72
You are welcome π
Thread Starter
Maasha
(@maasha)
Hi Kang,
thank you. I havent had a chance to try this yet, Im not sure if I need this plugin anymore. I will contact you if I need more help. Thank you ^^