Osclass forums
Support forums => Themes => Twitter => Topic started by: tatedewey on April 13, 2014, 12:31:18 am
-
Hey everyone, I'm wanting to change where it says "Region" in the Listing Location when publishing an Ad and also get rid of the city and neighborhood options. Here's a screenshot of what I'm talking about. Thanks for the help!
-
Open item-post.php and from line 92 to 101, you can change the Region, and remove Neighborhood as well and the City box. :)
<!-- location -->
<h3><?php _e('Location', 'twitter') ?></h3>
<?php item_country_box(__("Country", "twitter"), __("Select a country...", "twitter")) ; ?>
<?php item_region_box(__("Region", "twitter"), __("Select a region...", "twitter")) ; ?>
<div class="clearfix">
<label for="cityArea"><?php _e('Neighborhood', 'twitter') ; ?></label>
<div class="input">
<?php item_city_area( ) ; ?>
</div>
</div>
-
Didn't work when I uploaded it :( does anyone else have a fix?
-
hi tatedewey
did you use twitter or modern theme??
-
that wasn't supposed to be uploaded. he was showing you where to edit to what you want.
remove the clear fix div and change the word(in red) to what you want it to say
-
I did exactly that and it's still not even showing up on the Manage Themes page when I upload the new theme with those fixes.
-
<h3><?php _e('Location', 'twitter') ?></h3>
<?php item_country_box(__("Country", "twitter"), __("Select a country...", "twitter")) ; ?>
<?php item_region_box(__("State", "twitter"), __("Select a State...", "twitter")) ; ?>
-
I changed the "Country" and "Select a country" parts and it's not working, could it be I have to make those changes in other files?
-
are you using any other language besides USA?
are you uploading to the right place? that is the only place to change that, unless your theme is wacky and it is defaulting to the core bender theme.
what is your website? you can pm me
-
All set now! Don't know what the problem was before but now it's working. Thanks everyone!