Support

Account

Home Forums General Issues Custom field display

Helping

Custom field display

  • Hello,

    I just started working with ACF , i made a custom field to an order that i want to display on the invoice. The invoice has a html template where i wanted to include the shortcode but it just doesnt display the value.
    The invoice is auto generated by from the order, text field is name is termen_de_plata . Can i have a model to include in the html template? What would be the short code in this case? Tried all kinds of variations that i found on the How To, but it never displayed the value ( only blank or stuff like “acf field..”

  • Hello,

    You can’t display any php code in HTML.
    Solution: create your invoice template in php and allow users to download as a PDF.
    USE: <?php the_field(‘termen_de_plata ‘); ?>

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Custom field display’ is closed to new replies.