• 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.