Title: Secondary loop.php/functions.php file?
Last modified: August 20, 2016

---

# Secondary loop.php/functions.php file?

 *  [mollycampbell14](https://wordpress.org/support/users/mollycampbell14/)
 * (@mollycampbell14)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/secondary-loopphpfunctionsphp-file/)
 * I’m working on a site that’s going to show real estate postings. The homes are
   listed as posts, and we also have a blog. On the category page for the homes,
   I need to change “Posted on” to “listed on” and “posted in” to “located in”. 
   I know I can change those in the loop.php and functions.php files, but I only
   want them to change for the real estate category, not for our normal blog posts.
   Is there a way to do that? Everything I’ve read suggests child themes, but I 
   don’t see how that would help, since once I activate the child theme, the entire
   site is using that theme.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [mollycampbell14](https://wordpress.org/support/users/mollycampbell14/)
 * (@mollycampbell14)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/secondary-loopphpfunctionsphp-file/#post-2956859)
 * Still trying to figure this out if anyone has any suggestions – thanks!
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/secondary-loopphpfunctionsphp-file/#post-2956860)
 * Use a conditional tag called in_category and change it based on that in the proper
   files.
 * [http://codex.wordpress.org/Function_Reference/in_category](http://codex.wordpress.org/Function_Reference/in_category)
 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/secondary-loopphpfunctionsphp-file/#post-2956861)
 * Oh and the child theme suggestion is spot on. Use a child theme to make sure 
   your changes stick should a theme update come out. Up to you though.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Secondary loop.php/functions.php file?’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/phyrax/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/secondary-loopphpfunctionsphp-file/#post-2956861)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
