OsclassWizards Loca...
 
Notifications
Clear all

[Solved] OsclassWizards Location Not Required

5 Posts
2 Users
1 Reactions
295 Views
(@jgomez)
Posts: 6
Active Member
Topic starter
 

Hello.

I'm trying to do the following: Have the Location not required set in theme's settings BUT still require the Country.

If i set Location not required, Country is also NOT required when posting an ad. I only need the Country to be selected.

Thank you

 
Posted : February 19, 2021 14:04
Editor
(@editor)
Posts: 553
Honorable Member Admin
 

Ok, open the THEME's function.php file, find line 889

required: <?php echo osclasswizards_locations_required(); ?>

and change it with

required: true,

 

Let me know if it works for you or not.

 
Posted : February 19, 2021 14:22
JGomez reacted
(@jgomez)
Posts: 6
Active Member
Topic starter
 

For one more time THANK YOU. Works great.

 
Posted : February 19, 2021 14:46
Editor
(@editor)
Posts: 553
Honorable Member Admin
 

I guess you are using several countries, right?

Otherwise if you use one country i don't think it will work at all.

 

 
Posted : February 19, 2021 16:54
(@jgomez)
Posts: 6
Active Member
Topic starter
 

Yes, i'm using 2 countries, thanks again.

 
Posted : February 19, 2021 17:40