how to get QueryString value in wordpress page/post.?

When you get the QueryString value in WordPress.

Follow the bellow code:

<?php

$posts=get_posts(‘category=’.$_GET['cat'].’&showposts=20′);

?>

About the Author

avatar