Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On index.php page, I am showing only thumbs and two custom fields. How can I set specific number of posts in one row like this one; http://www.whatmobile.com.pk

share|improve this question
This is pretty much a CSS question, rather than a WordPress question. –  Chip Bennett Oct 25 '11 at 11:58
add comment

1 Answer

up vote 0 down vote accepted

Step 1: build a Loop that loads the posts you want. Note: you can number the limit of results using the posts_per_page parameter.

Step 2: style the posts using CSS. Give each post box a width and float them to the left.

share|improve this answer
add comment

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.