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

closed as off-topic by kaiser May 10 at 7:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1  
This is pretty much a CSS question, rather than a WordPress question. –  Chip Bennett Oct 25 '11 at 11:58

1 Answer 1

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

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