Hi, ?> <p><h2><?php esc_attr_e( 'Print Invoice:', 'woo-invoice' ); ?> <a href="<?php echo esc_url_raw( $url ); ?>" target="_blank"><?php esc_attr_e( 'Open print view in browser', 'woo-invoice' ); ?></a></p> <?php endif; HTML: The output of the code above is : Print Invoice: Open print view in browser This whole sentence is bold because "Print Invoice" is in h2. I want the "Open print view in browser" link not to be in BOLD. Please, how do I fix the code to do this? Thank you,
Your h2 tag doesn't have a closing tag </h2> Try this: <p><h2><?php esc_attr_e( 'Print Invoice:', 'woo-invoice' ); ?></h2> <a href="<?php echo esc_url_raw( $url ); ?>" target="_blank"><?php esc_attr_e( 'Open print view in browser', 'woo-invoice' ); ?></a></p> <?php endif; Code (markup): Now it will cancel the h2 and the bold.