Created
October 29, 2012 20:50
-
-
Save clarklab/3976455 to your computer and use it in GitHub Desktop.
WP_Query snippet (with php enclosures) for Sublime Text 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
<?php \$${1:query} = new WP_Query('${3:posts_per_page=5}'); ?> | |
<?php while (\$${1:query}->have_posts()) : \$${1:query}->the_post(); ?> | |
${3:// do something} | |
<?php endwhile; ?> | |
]]></content> | |
<tabTrigger>wpq</tabTrigger> | |
<description>WP_Query with php enclosures</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment