Title: Variables
Last modified: August 18, 2016

---

# Variables

 *  [dmitrivonklein](https://wordpress.org/support/users/dmitrivonklein/)
 * (@dmitrivonklein)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/variables/)
 * Hello,
 * I’d like something to appear in monthly archives but not in single, I know the
   variables are $month and $single for the two. I’ve searched around for a bit 
   but was unable to find info on how to specify something to take place in $month
   but <b>not</b> in $single since when I specified something to take place in $
   month it would also be passed on to $single
 * Thanks

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

 *  [Anonymous](https://wordpress.org/support/users/anonymous/)
 * (@anonymous)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/variables/#post-137740)
 * All I can think of is: try putting it in a div, and if $single set display:none
   in the CSS? It might help if we knew what you were trying to add.
 *  Thread Starter [dmitrivonklein](https://wordpress.org/support/users/dmitrivonklein/)
 * (@dmitrivonklein)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/variables/#post-137744)
 * The goal is to not have date/time show up in single entries but only in archives
   or in search resutls

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

The topic ‘Variables’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dmitrivonklein](https://wordpress.org/support/users/dmitrivonklein/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/variables/#post-137744)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
