WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 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.

This is pretty much a CSS question, rather than a WordPress question. – Chip Bennett Oct 25 '11 at 11:58
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.