Category : templates

I am trying to add a column mentioning the ID of the product purchased in the woocommerce mail template sent to the administrator. (Admin / order) I am currently using the WC Advanced Email Customizer extension which allows to customize woocommerce emails. This extension contains a file called "shortcode_handle.php" whose content is shown below. The ..

Read more

I’m using a PHP autoindex script which utilizes the template (.tpl) below. I would like to open files only in a new tab. I’ve tried adding target="_blank" to line 3 below, but this doesn’t differentiate between files or directories and both open in a new tab. I want to exclude directories from opening. <tr class="{file:tr_class}"> ..

Read more

I have a problem with editing the my-account/my-address.php template file output. The output on front end has no style. The template file itself has following code on lines 65-69 <address> <?php echo $address ? wp_kses_post( $address ) : esc_html_e( ‘You have not set up this type of address yet.’, ‘woocommerce’ ); ?> </address> Example from ..

Read more

I have installed WordPress multisite (5.5.1) and created some custom post types. I have also created some custom templates. Custom post type: "illustration" Template file: illustration.php The template file is empty apart from the name and an echo showing the template name Theme Name: ae-2020 Template Name: illustration Template Post Type: illustration * The template ..

Read more