using $_GET commend with a link
-
I need to have a link on a page(display all posts) such as
Egypt
that when clicked will refresh the page and display only Egypt postsI think i need to use $_GET commend, something like
if ($_GET[‘filter’]=”Egypt”) {
query_posts(‘meta_key=country&&meta_value=Egypt’);
} else if {
…
}Unfortunately I’m not a developer, and I’m not sure how to use this method, so can someone give me a help with this. Thank you in advance:)
- The topic ‘using $_GET commend with a link’ is closed to new replies.