This is probably the lamest question you will see today, but for me the hardest to answer:
sprintf( __( '%1$s起', 'woocommerce' )
I would like to style the character 起 with a span sort of like this:
'%1$s'<span style='font-size: 10px;'起'</span>, 'woocommerce' )
I'm pretty sure I've got my quotes all wrong in this example.
How do I do this the correct way if possible at all? It's on a live site so i can't play around with it too much...
Thanks!
The full line is:
$saleprice = $prices[0] !== $prices[1] ? sprintf( __( '%1$s起', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );