How to replace select location to text input

How to replace select location to text input ( paris themes )

step 1

open and editing item-post.php and item-edit.php

search this code

<div class=”form-group”>
<label class=”control-label” for=”country”><?php _e(‘Country’, ‘paris’); ?> *</label>
<?php ItemForm::country_select() ; ?>
</div>
<div class=”form-group”>
<label class=”control-label” for=”region”><?php _e(‘Region’, ‘paris’); ?> *</label>
<?php ItemForm::region_select() ; ?>
</div>
<div class=”form-group”>
<label class=”control-label” for=”city”><?php _e(‘City’, ‘paris’); ?> *</label>
<?php ItemForm::city_select() ; ?>
</div>

replace with

<div class=”form-group”>
<label class=”control-label” for=”country”><?php _e(‘Country’, ‘paris’); ?></label>
<div class=”controls”>
<?php ItemForm::country_select(osc_get_countries(), osc_user()); ?>
</div>
</div>
<div class=”form-group”>
<label class=”control-label” for=”region”><?php _e(‘Region’, ‘paris’); ?></label>
<div class=”controls”>
<?php ItemForm::region_text(osc_user()); ?>
</div>
</div>
<div class=”form-group”>
<label class=”control-label” for=”city”><?php _e(‘City’, ‘paris’); ?></label>
<div class=”controls”>
<?php ItemForm::city_text(osc_user()); ?>
</div>
</div>

 

save your changes

Top