Support

Account

Home Forums General Issues Many of the same clone in another set of fields Reply To: Many of the same clone in another set of fields

  • Excellent point!

    I went with group / but I wouldn’t have seen that prefix side-effect until I tried it out. I don’t use template part / because I’m stubborn and it’s ugly… but my components certainly use a generic variable that needs to stay stable. I usually create a little get-example-data.php file to organize the fields into variables so I can use them in many contexts.

    
    <example-card>
      <h2 class='title'><?=$title?></h2>
    </example-card>