-
AuthorPosts
-
August 14, 2015 at 10:34 am #487635
Hi,
Not sure if this is due to woocommerce or enfold.
This is what I do.
1. Add a post
2. Use AVIA editor
3. Use a Blog Post element
4. > Display entries from a custom taxonomy
5. > Select entries from product attributesThe blog post meta shows “simple” and it is link to “/?taxonomy=product-type&term=simple”
Can I exclude that from showing up? While we are at it, is there a way to add a comma separator between different categories/taxonomy/post types meta?
Screenshot : http://imgur.com/t314kl0
I’m using the latest woocommerce and enfold version.
Thanks!
- This topic was modified 9 years, 3 months ago by senso.
August 14, 2015 at 5:01 pm #487837Hi senso!
In the layout builder switch to the “Plugin Additions” tab and use the product grid / product list shortcodes instead to display your products.
Cheers!
ElliottAugust 15, 2015 at 1:03 am #488073Hi Elliot,
Thanks for the prompt response!
It seems that Product Grid works with categories only, is there a way to pull out information from custom taxonomy instead?August 17, 2015 at 6:42 am #488580Hi!
Please use the blog post element again then add this in the functions.php file to exclude the product type:
add_filter( 'avf_exclude_taxonomies', 'enfold_customization_exclude_taxonomies', 0, 2 ); function enfold_customization_exclude_taxonomies( $t, $pt ) { $t[] = 'product_type'; return $t; }
Best regards,
IsmaelAugust 17, 2015 at 7:04 am #488594Hi Ismael,
Thanks for the help. I tried this but it doesn’t provide a comma separator between different categories/taxonomy. Is there a way to include the separator? Is there a way to select what to be included instead of what to be excluded? Is there a way to make the blog post element to display in columns with sort function like product grid element?
Really, sorry for asking for more but have really tried to google for solutions these few days but to no avail.
- This reply was modified 9 years, 3 months ago by senso.
August 18, 2015 at 5:00 am #489248Hi!
There should be a comma / separator after a category or taxonomy and you can set the blog style to blog grid to create columns. Unfortunately, you can only select what taxonomy to be excluded.
Cheers!
IsmaelAugust 20, 2015 at 8:23 am #490577Hi Ismael,
Thanks for the help! Sorry for not being clear on the comma/separator. I hope I can explain myself better with a screenshot http://imgur.com/GOrAmOU The red arrow shows where the comma/separator is missing.Thanks!
- This reply was modified 9 years, 3 months ago by senso.
August 20, 2015 at 9:00 pm #491087Hi!
Please do add the following
add_filter( 'avf_exclude_taxonomies', 'enfold_customization_exclude_taxonomies', 0, 2 ); function enfold_customization_exclude_taxonomies( $t, $pt ) { $t[] = 'product_type , '; return $t; }
Best regards,
BasilisAugust 21, 2015 at 12:57 am #491130Hi Ismael,
It does exclude but not seeing separator/comma. The screenshot is done after adding the provided code snippet.
August 24, 2015 at 1:31 am #491959 -
AuthorPosts
- You must be logged in to reply to this topic.