Knowledge Base - Jomres: Wikipedia Region In Tab: Change from State / Region to City / Town Display

This will display info about the City / Town instead of the State / Region.

/jomres/core-plugins/wikipedia_region_in_tab/j00035tabcontent_03_wikipedia_region_in_tab.class.php

Line 42:
$anchor = jomres_generate_tab_anchor($current_property_details->property_region);

Change to:
$anchor = jomres_generate_tab_anchor($current_property_details->property_town);

Replace: property_region
To: property_town

===============

UpDated: Edit Same File : This Works Better :

$property_region = $current_property_details->property_region;
$property_town = $current_property_details->property_town;

$url= 'en.wikipedia.org/wiki/'.$property_town.',_'.$property_region;

  {jumi [*11]}

================

Jomres Online Booking System & Reservation Software, Free Downloads

Details

Created : 2017-07-20 03:52:46, Last Modified : 2017-11-01 00:01:59

Click to listen highlighted text!