Created
July 16, 2015 16:30
-
-
Save cdmz/874acbe59ef56100ed0b to your computer and use it in GitHub Desktop.
wp-query post type laco
This file contains 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
<?php | |
wp_reset_query(); | |
$wp_query = new WP_Query(); | |
$query = $wp_query->query("post_type=sms-categories"); | |
while ($wp_query->have_posts()) | |
{ | |
$wp_query->the_post(); | |
?> | |
//put your code here | |
<?php | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment