Created
May 3, 2017 07:00
-
-
Save rajendra89/ebc1beeff890bfa30afc7e25fd167814 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_blog=array( | |
'post_type'=>'blog', | |
'posts_per_page'=>'5', //for getting only 5 posts | |
'order'=>'ASC', //last input first output | |
'orderby'=>'menu_order', //according to field | |
if you want to disply all post then replace 5 by -1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment