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

I have created a custom theme for my archive page, but it displays all posts.

here is the code : http://pastebin.com/E3vGCWvw

Anyone help me...thanks

share|improve this question
Did you want it not to display all posts? And where is $data coming from? Also echo out $data['no_of_blog_posts'] to see if it returns anything. – imHavoc Aug 24 '12 at 14:41

closed as too localized by toscho Sep 20 '12 at 7:45

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.