The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Change posts per row (6 posts)

  1. menrique
    Posted 5 years ago #


    I would like to change the number of posts show up per row and the number of posts per page.

    I've tried looking for a few fixes but I haven't been able to find anything that works.

    Here is a current image of the site I am trying to change:

  2. For posts per page:

    Settings > Reading > Blog pages show at most XX posts

    Change XX to the number of posts per page that you want.

    For the number of posts per row, you'll need to edit your theme files - could be the category.php, index.php or other templates, depending how you've done your theme. Or edit your CSS to change the width of your individual post boxes to fit more or fewer per row.

  3. menrique
    Posted 5 years ago #

    Thanks for getting back to me, I need the posts changed in the category.

    Here is my category.php
    [Code moderated as per the Forum Rules. Please use the pastebin]

    Is it here? or in CSS?

  4. Play with this CSS - strongly recommend doing this on a test server or local copy of the site:

    .entry-list {
    	float: left;
    	width: 150px;
    	display: inline;
    	margin: 0 5px 0 15px;
    	padding: 5px;

    You can increase or decrease the width.

    However, since you have thumbnail images associated with each post, you'll need to change those dimensions too. I can't tell you off the top of my head how to do that, it depends how your theme is set up. Is this a theme you downloaded from somewhere or did you create it from scratch? Did it come with any support or documentation? Often the theme maker will tell you how to change things like this more easily.

  5. menrique
    Posted 5 years ago #

    It is a modified TwentyTen theme (I wasn't the one that modified it). I have absolutely no word from who changed it so I'm just diving into it right now.

    I'll try the CSS though

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    Don't edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.