Title: Can&#039;t read wp_query_var
Last modified: August 20, 2016

---

# Can't read wp_query_var

 *  [agla](https://wordpress.org/support/users/agla/)
 * (@agla)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/cant-read-wp_query_var/)
 * My code looks like this:
    [INSERT_PHP]
 * $month = (get_query_var(‘ca_month’)) ? get_query_var(‘ca_month’) : date(“m”);
   
   printf(“month = %s\n”, $month);
 * [/INSERT_PHP]
 * The problem is that I can’t “send” value to ca_month variable from the URL (using
   the browser).
 * Regards, Yaakov.

The topic ‘Can't read wp_query_var’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [agla](https://wordpress.org/support/users/agla/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/cant-read-wp_query_var/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
