/ Published in: PHP
URL: http://codex.wordpress.org/Template_Tags/query_posts
Geo Mashup contextual maps display the results of a WordPress query, so they can be very useful in combination with the WordPress query_posts function. This example maps post with an example tag, but any call to query_posts could be substituted. This is code that would go in a WordPress template.
Expand |
Embed | Plain Text
<?php query_posts( 'tag=example' ); ?> <?php wp_reset_query(); ?>
Comments
Subscribe to comments
You need to login to post a comment.

There is a limit to the number of posts this will work work with - it's not exact but usually over 100. Geo Mashup issue 404 was started for this problem.