PHP Laravel <br>

时间:2019-11-27 17:04:05

标签: php html laravel

在这里,我想把专业知识推到最底线。我该怎么做?

示例:

PROF. DR. 
RICHARD

我的网站:

PROF。博士理查德

<div class="dc-title">
    <br>
    <a href="javascript:void(0)" class="dc-docstatus">{{{ html_entity_decode(clean(Helper::getSpecialitySlider('speciality')['title'])) }}}</a>
    <h3>
        <a href="{{ route('userProfile', clean($doctor->slug)) }}">
            {{ !empty($doctor->profile->gender_title) ? Helper::getDoctorArray(clean($doctor->profile->gender_title)) : '' }}
            {{{Helper::getUserName($doctor->id)}}}
        </a>
        {{ Helper::verifyMedical(clean($doctor->id)) }} {{ Helper::verifyUser(clean($doctor->id)) }}
    </h3>
    <ul class="dc-docinfo">
        <li>{{ html_entity_decode(clean($doctor->profile->tagline)) }}</li>
        <li>
            <span class="dc-stars"><span style="width: {{ $stars }}%;"></span></span><em>{{ $doctor->feedbacks->count() }} {{ trans('lang.feedbacks') }}</em>
        </li>
    </ul>
</div>

1 个答案:

答案 0 :(得分:0)

尝试这个

    add_filter( 'woocommerce_get_price_html', 'cw_change_product_price_display' );
add_filter( 'woocommerce_cart_item_price', 'cw_change_product_price_display' );
function cw_change_product_price_display( $price ) {
    $text = 'echo $product->get_regular_price;';

    // returning the text before the price
    return $text . ' ' . $price;
}