Adding Text before and after Price
I have just upgraded from 3.0.5.2 to 3.0.5.3 and now cannot get the text to show prior and after the price e.g. From £55 per night. In 5.2 I add this code to the theme-functions.php:
// get the ad price and position the currency symbol
if (!function_exists('cp_get_price')) {
function cp_get_price($postid) {
$yourtext = ' per night';
$yourfrom = 'From ';
if(get_post_meta($postid, 'cp_price', true)) {
$price_out = get_post_meta($postid, 'cp_price', true);
Adding this in the same place in the theme-functions.php on 5.3 doesn't work.
Anyone have any idea to make this work in the 5.3 version.
Here's the link:
www.getthewow-testdrive.com
Appreciate any guidance on this.
Regards,
Ken