Forum

Thread tagged as: Question

Perch_content_custom: display just part of the template

Hi, I have this template and I want to display only the image 'image-projects' via a perch_content_custom

<img src="<perch:content type="image" id="image-projects" label="Image projects" />
<h4>Projects</h4>
<perch:content type="textarea" textile="true" id="text-project" label="Text projects" />

How can I do that? Thanks!

Raul Serrano

Raul Serrano 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Create a second template that only has the part of the template that you want and use that template for perch_content_custom.

Ok thanks Rachel