echo "<h1 class='price'>" . $currency . round( $price['daily'] ) . "</h1>";
Is there a way to print empty space before currency?
Edit: The above code gives me From₹3880 in my theme. But I want From $3880 with a space
PS: Noob here
echo "<h1 class='price'>" . $currency . round( $price['daily'] ) . "</h1>";
Is there a way to print empty space before currency?
Edit: The above code gives me From₹3880 in my theme. But I want From $3880 with a space
PS: Noob here
Use the non-breaking space (
) HTML entity:
echo "<h1 class='price'> " . $currency . round( $price['daily'] ) . "</h1>";