For the complete documentation index, see llms.txt. This page is also available as Markdown.

Displaying Number field

Advanced Views natively supports the following number types:

  1. WooCommerce: product Weight, Length, Width, Height, Quantity field

  2. ACF: any Number field

  3. MetaBox: any Number field

  4. Pods: any PlainNumber field

1. How to display a Number field

  1. Add any Number field

  2. Save the Layout, copy its embedding shortcode

  3. Embed Layout: paste the shortcode inside the target place

Inside the Layout, you can mix fields from different providers and customize the template.

FAQs

Can I add a comma as a thousand separator? e.g. $ 1,000

Yes you can, by modifying the Twig template and adding 'number_format' for your number field.

{% if promo_price.value %}
	<div class="acf-view__promo-price">
		{{ promo_price.value|number_format }}
	</div>
{% endif %}

Last updated