1. Osclass Forum
  2. Ideas/Improvements
  3. Is it possible to remove region in osclass?

Is it possible to remove region in osclass?

Started by hachimi, September 28, 2020, 3:37 pm

  • 1

hachimi

Is it possible to remove region in osclass?

on :September 28, 2020, 3:37 pm #367

Hello 


Is it possible to remove region and country  in osclass?


thank your for your help

calinbehtuk

Re: Is it possible to remove region in osclass?

on :September 28, 2020, 3:46 pm #368

You will have to much work to do to remove, you can simply do not use the region. You can remove only from the theme and leave the location fields empty.

hachimi

Re: Is it possible to remove region in osclass?

on :September 28, 2020, 3:48 pm #369

thank you so much

How can i remove it from theme sir

calinbehtuk

Re: Is it possible to remove region in osclass?

on :September 28, 2020, 4:00 pm #370

Just delete the line that displays the fields for location. Make this on a test, not on your live site.
You have multiple files depends on the theme that you use. Exclude the pages that are related to login or register, contact you will have the location displayed in all the pages. Check your theme files and see where you have the line for location.

osc_item_region()
osc_item_city()
osc_item_country()


Those are the main function but depends of the theme you can have custom code, so check your theme files to see what PHP code you have for location.

  • << Last edit: September 28, 2020, 4:01 pm by calinbehtuk >>
  • Quote
  • 1
Subscribe
X

Subscribe!

Subscribe to get the latest listings, updates and special offers delivered directly in your inbox.