Created
July 23, 2012 00:13
-
-
Save pedroelsner/3161438 to your computer and use it in GitHub Desktop.
#3 - WP_query personalizado
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
<?php | |
// Seleciona todos os posts publicados | |
$query = new WP_query( | |
array( | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
'title_like' => 'Treinamento%' | |
) | |
); | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment