get_query_var can’t work on the sidebar
-
hai..
i have trouble with get_query_var. when I write a page using template page and saved by name ‘product’, get_query_var(‘pagename’) couldn’t display a value. when i called it, it should be generate a value = ‘product’ right…?!
the script was put on the sidebar. i don’t know why the value can displayed on the header’s area….
anybody can explain that…?thanks
regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get_query_var can’t work on the sidebar’ is closed to new replies.