Via de app “ACF Metafield custom fields” heb ik een subtitel veld aangemaakt.
ACF geeft een voorbeeld hoe dat bij een product moet maar niet bij een collectie.
Als laatste moet er een stukje code worden ingevoegd.
Weer alleen een voorbeeld hoe dat bij een product moet:
Click Actions → Edit Code next to your theme.
Search for ‘product-template’ and it should show you one file.
Click into that file and search for ‘product-single__title’, it should be on line 137 (depending on whether or not you have made other customisations to this file).
You should see the line:
<h1 class="product-single__title">{{ product.title }}</h1>
Press Enter/Return to start a new line after the and add the below code:
{{product.metafields.subheading.swd}}
Waar moet dit laatste stukje code in collectie worden geplakt>
Of heeft iemand een idee hoe dat beter kan?
Hier dus:
Hulp wordt gewaardeerd door deze amateur.

