Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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 attributes

    The 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 8 years, 7 months ago by senso.
    #487837

    Hi 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!
    Elliott

    #488073

    Hi 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?

    #488580

    Hi!

    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,
    Ismael

    #488594

    Hi 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 8 years, 7 months ago by senso.
    #489248

    Hi!

    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!
    Ismael

    #490577

    Hi 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 8 years, 7 months ago by senso.
    #491087

    Hi!

    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,
    Basilis

    #491130

    Hi Ismael,

    It does exclude but not seeing separator/comma. The screenshot is done after adding the provided code snippet.

    #491959

    Hey!

    @senso: Sorry for the delay. Please provide a link to the actual blog page.

    Cheers!
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.