Created
December 28, 2015 14:02
-
-
Save Xatenev/8c5a998884a0a7afbedc to your computer and use it in GitHub Desktop.
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
$args = array( | |
'orderby' => 'title', | |
'order' => 'ASC', | |
); | |
$wp_query = new WP_Query($args); ?> |
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
$args = array( | |
'post_type' => 'portfolio', | |
'numberposts' => $num, | |
'orderby' => 'title', | |
'portfolio_category' => $cat_slug, | |
'order' => 'ASC', | |
'suppress_filters' => 0 | |
); | |
$latest = get_posts($args); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment