Posts by stuntdawg

    I would like to pass a variable into a template and then use that variable to modify the content id. Something like this:


    Code
    1. <perch:content id="<perch:content id="lang" />_heading" />


    or


    Code
    1. <perch:content id="{lang}_heading" />


    I want too simplify my code and avoid a long perch if statement.


    I know how to pass variables into a template and I know to use perch_content_custom()


    Any suggestions?