// assign the variable as current category $categoryvariable = $catid; $args=array( 'cat' => $categoryvariable, 'post_type' => 'album', 'orderby' => 'date', 'order' => 'DESC', 'posts_per_page' => -1 ); query_posts( $args ); ?>belirttiğim kategoride album yazı tipinde son yazıyı çekmek istiyorum fakat ilk yazı geliyor. Sorunu nasıl çözebilirim?
WP_Query custom post_type Sorunu
4
●264
- 07-03-2014, 22:54:11