Results 1 to 4 of 4

Thread: Proper Way to Use Child Theme/Make Edits

  1. #1
    Thread Starter
    Expired Customer kcjt2009's Avatar
    Join Date
    Dec 2013
    Location
    United States
    Posts
    276
    Thanks
    32
    Thanked 24 Times in 20 Posts

    Proper Way to Use Child Theme/Make Edits

    Hey Guys

    I am curious to know the proper way to use the child theme to make edits of files. My primary question centers around understanding exactly how much/which section of code to tweak. For example, if I copy and paste the entire file into a child theme file to change one line of code, that means that if another section of that file is subsequently modified by AppThemes that future updates will not reflect the change, right?

    Let's look at the header.php file for a second. If want to change the description above the search fields for example from:

    Near (city, country) to Near (city, state, zip code) how would you make these changes in your child theme.

    I am assuming that copy and pasting the entire file into the child theme and then making the text edits is probably the wrong way. So, should I just take out this part:

    Code:
    <div class="search-location">
    							<label for="search-location">
    								<span class="search-title"><?php _e( 'Near ', APP_TD ); ?></span><span class="search-help"><?php _e( '(city, state, zip code)', APP_TD ); ?></span>
    							</label>
    							<div class="input-cont h39">
    								<div class="left h39"></div>
    								<div class="mid h39">
    									<input type="text" name="location" id="search-location" class="text" value="<?php va_show_search_query_var( 'location' ); ?>" />
    								</div>
    								<div class="right h39"></div>
    							</div>
    						</div>
    Thanks for offering some insight on this.

  2. #2
    red20me's Avatar
    Join Date
    Jul 2013
    Location
    United Kingdom
    Posts
    473
    Thanks
    1
    Thanked 104 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Senior Member dorothy's Avatar
    Join Date
    Jul 2013
    Location
    Sydney
    Posts
    241
    Thanks
    27
    Thanked 27 Times in 25 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Proper Way to Change "Search for" and "Near" in child theme
    By kcjt2009 in forum Vantage General Discussion (Legacy)
    Replies: 4
    Last Post: March 1st, 2015, 05:14 PM
  2. Replies: 2
    Last Post: March 2nd, 2014, 06:21 PM
  3. theme-actions edits for Child Template
    By davidzack in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 6th, 2013, 02:41 PM
  4. I Want to hire someone to make edits to JobRoller for me
    By hitekhosting in forum JobRoller General Discussion
    Replies: 2
    Last Post: April 6th, 2013, 09:52 PM
  5. Child PHP edits not being picked up
    By craigjross in forum Report JobRoller Bugs
    Replies: 1
    Last Post: May 16th, 2012, 08:13 AM