• Resolved hikarukujo

    (@hikarukujo)


    I’m looking in the template files for the micro theme and I cannot find what adds the “Paid” watermark across the screen. We’d like to highlight the text more and change the color, but I cannot find where it is generated to make the change. Nothing in the micro theme seems to actually add that watermark, unlike the minimal theme that has a PHP snippet for the code. Am I missing something?

Viewing 1 replies (of 1 total)
  • Hello Hikarukujo,

    You can add the following code into your template:

    <div class="watermark">
    		<?php
    		if ( WPI()->get_option( 'template', 'show_payment_status' ) && $invoice->order->is_paid() ) {
    			printf( '<h2 class="green">%s</h2>', esc_html__( 'Paid', 'woocommerce-pdf-invoices' ) );
    		}
    
    		do_action( 'wpi_watermark_end', $invoice->order, $invoice );
    		?>
    	</div>

    This should enable the paid watermark, if you have the option turned on.

Viewing 1 replies (of 1 total)
  • The topic ‘Watermark on micro theme’ is closed to new replies.