Edit: layout2.php
<?php /** * The Template for displaying Layout 2 * * @author Elicus <hello@elicus.com> * @link https://www.elicus.com/ * @copyright 2021 Elicus Technologies Private Limited * @version 1.8.2 */ if ( '' !== $item_name ) { if ( '' !== $item_image_thumbnail && 'use_image' === $item_thumbnail_option ) { $item_inner_wrap .= sprintf( '<div class="dipl_price_list_item_thumbnail">%1$s</div>', et_core_intentionally_unescaped( $item_image_thumbnail, 'html' ) ); } if ( '' !== $item_icon_thumbnail && 'use_icon' === $item_thumbnail_option ) { $item_inner_wrap .= sprintf( '<div class="dipl_price_list_item_icon">%1$s</div>', et_core_intentionally_unescaped( $item_icon_thumbnail, 'html' ) ); } if ( '' !== $item_price ) { // Add price period. $price_period_html = ''; if ( ! empty( $price_period ) ) { $price_period_html = sprintf( '<span class="dipl_price_list_item_price_period"><span class="dipl_price_period_divider">/</span>%1$s</span>', esc_html( $price_period ) ); } $item_inner_wrap .= sprintf( '<div class="dipl_price_list_item_price_wrap">%1$s%2$s%3$s</div>', '' !== $item_currency ? et_core_intentionally_unescaped( $item_currency, 'html' ) : '', et_core_intentionally_unescaped( $item_price, 'html' ), et_core_intentionally_unescaped( $price_period_html, 'html' ) ); } $item_inner_wrap .= sprintf( '<div class="dipl_price_list_item_name_wrap">%1$s</div>', et_core_intentionally_unescaped( $item_name, 'html' ) ); if ( '' !== $item_desc ) { $item_inner_wrap .= et_core_intentionally_unescaped( $item_desc, 'html' ); } }
Save
Back