Title: Selective Changes
Last modified: August 18, 2016

---

# Selective Changes

 *  Resolved [sykotic1](https://wordpress.org/support/users/sykotic1/)
 * (@sykotic1)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/selective-changes/)
 * Hey all. It’s great to be able to change an entire site by modifying a few files.
   I’m wondering how to target specific “pages”. For example, the main page of my
   theme is implemented using “index.php” (duh), and I have various categories containing
   posts, which are on the sidebar acting as “pages” (?cat=whatever) which is another
   no brainer.
 * My question is this, how can I manipulate elements of a certain “page” ? I’m 
   assuming that what we think of as “pages” are actually entries in a database (
   hence ?cat=whatever). So as one might fathom I’m having trouble understanding
   how to change characteristics of such an item.
 * I hope you guys can follow me here, it’s nice to change one file and have the
   changes cascade, but I’m a little stuck as far as changing individual pages/categories.
   The most that I can do in site admin is change text, so my best guess at this
   point would be a conditional within index.php to the effect of:
 * *if this is ?cat=1 (or ?page=1 for that matter), change the background color 
   to #808080 (example), if it is not then leave alone.
 * see what im sayin?

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

 *  Thread Starter [sykotic1](https://wordpress.org/support/users/sykotic1/)
 * (@sykotic1)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/selective-changes/#post-270508)
 * just incase im confusing anyone, this is what im tryin to say in a nutshell:
 * – i know that by changing index.php, for example, i can affect the entire site.
   –
   i don’t know how to change the background color of simply one page. – i want 
   to keep the “theme” for the entire site, but there is one page which i want to
   have *only* a different background color (it will actually be a background-image
   placed adjacent to the sidebar, but only on that one page). – syko is confused
   because #1 if he changed index.php the changes show up on all pages, and #2 he
   thinks the “pages” are parts of the database (i.e. ?page=whatever) so he doesn’t
   know WHAT to edit.
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/selective-changes/#post-270509)
 * if is_page(‘blah’) …
 * [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)

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

The topic ‘Selective Changes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Beel](https://wordpress.org/support/users/beel/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/selective-changes/#post-270509)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
