Wordpress theme editing

Billy567

Registered Member
Joined
Oct 17, 2018
Messages
72
Reaction score
19
Hi all
I have Classima theme installed on a very new website of mine and when I setup the listings on the backend of site I set prices as per 'week' but it keeps coming through as 'month' this the code I believe needs editing,

<div class="single-listing-meta-price-mob">
<div class="rtin-price"><span class="rtcl-price-amount amount"><span class="rtcl-price-currencySymbol">£</span>400<span class="rtcl-per-unit"> / Month</span></span></div>
</div>

but I can't find where the code is to change website is caravaneye.co.uk and the page is...
https://caravaneye.co.uk/rtcl_listing/skiddaw-view-platinum-holiday-caravan/

Also the month issue is I believe in the sidebar, but I'm not 100% about that

If anyone can help I would be grateful.
 
The problem is not within the theme itself but the 'Classified Listing Pro' plugin.

You need to have the listings set as 'to let' and then you just go to: classified-listing-pro\app\Controllers\Hooks\AppliedHook.php and you edit this line:

Code:
$html_price = substr_replace($html_price, sprintf("<span class='rtcl-per-unit'> / %s</span>", __("Month", "classified-listing")), $position, 0);
with
Code:
$html_price = substr_replace($html_price, sprintf("<span class='rtcl-per-unit'> / %s</span>", __("Week", "classified-listing")), $position, 0);
 
The problem is not within the theme itself but the 'Classified Listing Pro' plugin.

You need to have the listings set as 'to let' and then you just go to: classified-listing-pro\app\Controllers\Hooks\AppliedHook.php and you edit this line:

Code:
$html_price = substr_replace($html_price, sprintf("<span class='rtcl-per-unit'> / %s</span>", __("Month", "classified-listing")), $position, 0);
with
Code:
$html_price = substr_replace($html_price, sprintf("<span class='rtcl-per-unit'> / %s</span>", __("Week", "classified-listing")), $position, 0);
Will follow your instructions and report back.
Thanks for your time.
 
Back
Top