Forum
Using an one element from a template
Hi,
I have a template which have the id below:
<a href="<perch:content id="link" type="text" label="Link" markdown="true" editor="markitup" help="Indsæt det link presseklippet skal henvise til. Fx.: https://axcel.dk" />" class="white btn btn-default btn-padding" target="_blank">
I want to use the ID on another page called presseklip.php
to list the ID's like this:
<p>
List the ID
</p>
<p>
List the ID
</p>
<p>
List the ID
</p>
Could you help me do this :)
Use
perch_content_custom()
to display content from one page on another.Hi Drew.
Thanks for the answer.
If i do like this:
Nothing happens. Can i reuse just on ID instead for a whole region. My presseklip.html looks like this:
What do you mean by "nothing happens"?
It does not display anything :)
But if i change it to one of the regions, like this :
It displays the whole region
Have you narrowed your template to only output the fields you want?
I got it. Thanks for your help