Advertisement:

Author Topic: Change "Region" in Location (SOLVED!)  (Read 2718 times)

tatedewey

  • Newbie
  • *
  • Posts: 10
Change "Region" in Location (SOLVED!)
« 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!
« Last Edit: April 30, 2014, 04:22:36 am by tatedewey »

S.Trajkov

  • Newbie
  • *
  • Posts: 11
Re: Change "Region" in Location
« Reply #1 on: April 13, 2014, 05:51:26 am »
Open item-post.php and from line 92 to 101, you can change the Region, and remove Neighborhood as well and the City box. :)

Code: [Select]
<!-- 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>
« Last Edit: April 13, 2014, 05:53:14 am by S.Trajkov »

tatedewey

  • Newbie
  • *
  • Posts: 10
Re: Change "Region" in Location
« Reply #2 on: April 13, 2014, 06:16:33 am »
Didn't work when I uploaded it :( does anyone else have a fix?

innoserv

  • Newbie
  • *
  • Posts: 45
Re: Change "Region" in Location
« Reply #3 on: April 21, 2014, 06:11:20 pm »
hi tatedewey
did you use twitter or modern theme??

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Change "Region" in Location
« Reply #4 on: April 21, 2014, 07:37:21 pm »
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

tatedewey

  • Newbie
  • *
  • Posts: 10
Re: Change "Region" in Location
« Reply #5 on: April 28, 2014, 07:47:08 pm »
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.

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Change "Region" in Location
« Reply #6 on: April 28, 2014, 08:05:43 pm »
                            <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")) ; ?>

tatedewey

  • Newbie
  • *
  • Posts: 10
Re: Change "Region" in Location
« Reply #7 on: April 28, 2014, 10:05:41 pm »
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?

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Change "Region" in Location
« Reply #8 on: April 28, 2014, 11:35:44 pm »
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
« Last Edit: April 28, 2014, 11:37:33 pm by design »

tatedewey

  • Newbie
  • *
  • Posts: 10
Re: Change "Region" in Location
« Reply #9 on: April 30, 2014, 04:20:21 am »
All set now! Don't know what the problem was before but now it's working. Thanks everyone!