Custom field in PDF
-
Hello,
To single.php i added custom fields, (made by Toolset).
the code is below
<?php if( types_render_field(‘model’) ): ?>
<h5 class=”cena”>Model: <b><?php echo types_render_field(“model”); ?></b>
</h5>
<?php endif; ?>
I wonder, how to show this field in pdf file.
I was try few options, but its not showing.On the website I’m using DK PDF plugin also (for pdf generation).
Can you advice, how should looks code If I want add this custom field to dkpdf-index.php ? (dkpdf-index.php in a tamplate of PDF)Thanks for advice
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom field in PDF’ is closed to new replies.