• Hi, I use LearnPress with Certificates Addon, and now, by regulation I need to add custom fields to my certificate, like student address, a government registration number. All of those will come from checkout custom fields. How can I add them to certificate?

    Thx, for help.

Viewing 4 replies - 16 through 19 (of 19 total)
  • In this below code I’m trying to add the expiration date to the certification.

    /* EWS Change - Custom Shortcode */
    function lporderid_function() {
       $NewDate=Date('d/m/Y', strtotime('+1095 days'));
        return $NewDate;
    }

    in this code its displays the date after 3 years from the current date you check the certificate.

    I need some thing like
    $NewDate=Course_expiration_date(‘d/m/Y’, strtotime(‘+1095 days’));

    Can anybody help me with this that how can I retrieve the course end time and then add 3 rears from the date.

    I managed to get a new layer for the certificate according to the code given above, but I can’t get the input information there (order number). Currently displays the name of the (new) layer on the certificate. Can anyone help?

    @aivarp no it will display the layer in the certificate settings and it will work accoring to your code.

    Ok, and still – what code should i write to get unique number?

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Add custom fields to certificate’ is closed to new replies.