We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Reusing An Inputted Variable In The Same Region?
I have a product listing region that asks for image, product name and description. The product name is asked for as:
<perch:content id="text" type="text" label="Product Name" required="true" title="true" />
In the same region I would like to use the product name before the words 'Feeding Guide', e.g. <h2>Product Name Feeding Guide</h2>
What Perch code snippet should I use to output the Product Name? I've tried <h2><?php perch_content('Product Name'); ?> Feeding Guide</h2> which doesn't work. I'm guessing it should involve the ID but how do I reference this correctly?
Want to reply to this thread?Login with Perch