Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #543628

    Hello,

    How I can do to display the title and category of a products woocommerce item instead of the title and excerpt in a products grid?

    Thanks in advance!

    #543632

    Hi marcellovoc!

    Please go to Enfold/config-woocommerce and open config.php file and find

    	echo "<div class='inner_product_header'><div class='avia-arrow'></div>";

    and change it to

    	echo "<div class='inner_product_header'>".single_term_title()."<div class='avia-arrow'></div>";

    Best regards,
    Yigit

    #1087003

    Hi,

    Now it shows only the main category title.
    My products have a main category and a subcategory of that main category.
    I want to show the subcategory in it, is that possible too?

    #1087007

    Also I wan to echo it like <p class="ticketgroup">".single_term_title()."</p>

    • This reply was modified 5 years, 8 months ago by Jarmo.
    #1089340

    Hi,

    The following thread should help. Just copy the snippet to render the sub categories.

    // https://wordpress.stackexchange.com/questions/101268/display-all-the-subcategories-from-a-specific-category

    Best regards,
    Ismael

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