Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

My custom taxonomy is

register_taxonomy( 'square_type', 'post', array( 'hierarchical' => true, 'label' => 'Square Categories', 'query_var' => true, 'rewrite' => true ) ); 

so, I have default post type. How can I post all posts which are selected in some Square Categories?

share|improve this question
2  
Can you please ask more specific question so that we can help you. – Vinod Dalvi Mar 17 at 14:17
ok query_posts( array( 'post_type' => 'post', $ctax => red, 'posts_per_page' => $posts_per_page) ); this query will post 4 last posts from my custom taxonomy's category "red". So, how I can post 4 last posts from my custom taxonomy's categories – okonik Mar 17 at 16:15

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.