Add text before Country on the listing block

Hi everybody,
I want to add the text: “Provider´s Country:” before the country on the listing block:

I tried:

	function( $fields, $model ) {
		if ( isset( $fields['location'] ) ) {
			$fields['location']['display_template'] = '<i class="hp-icon fas fa-user"></i> %value% / custom text here';

		return $fields;

but didnt work.

Please try to override the file /plugins/hivepress-geolocation/templates/listing/view/listing-location.php with the child theme

Here is the tutorial on how to customize templates

Tes thats exactly what I did. Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.