I would like to have translated text on the button for the different language areas of my site.
I am currently using this code in my page template:
<?php echo create_save_as_pdf_pdfcrowd_button('A4','Save as PDF'); ?>
I already have a custom field that I can use so the correct translation appears when you’re on a different language page:
<?php the_field('save_as_pdf_button_text'); ?>
I just need to integrate the custom field with the button somehow. Right now it is controlled by the text that is set as ‘Button text’ in the plugin settings.
- The topic ‘PDF Button for multilingual site’ is closed to new replies.