Support

Account

Home Forums Front-end Issues how to dispay field of sub-category on main category page

Helping

how to dispay field of sub-category on main category page

  • Hello,

    I am using WooCommerce and I am displaying sub-categories into main category pages in grid view. I have created one field name “5 Selling Points” and added content into it. Now I want to display that field for each sub-category on main category page.

    I also added

    <div class="sellingp"><?php the_field('field_name', $term); ?></div> but nothing is being display.

    I am getting output like <div class="sellingp"></div> on content-product_cat.php and value is not being printed. You can check on http://wp.psifilters.com.au/products/faucets/

    can anyone knows how to print value of sub-categories on main category page?

    I want to display “5 Selling Points” of each sub-category on main category page.

  • Sorry, I mean I have used following.

    <div class="sellingp"><?php the_field('5_selling_points', $term); ?></div>

    but I am not able to print 5 Selling Point content after sub-category Title.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘how to dispay field of sub-category on main category page’ is closed to new replies.