WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
cat list in 2 or 3 colums (2 posts)

  1. passimal
    Member
    Posted 4 months ago #

    Hello,
    I want to use the "list category posts" in 3 colums on a page.
    How to do that ?
    I suppose i must use "template=templatename" or perhaps something else moire easely ???

    Thansk a lot
    Steflp

    https://wordpress.org/plugins/list-category-posts/

  2. fernandobt
    Member
    Plugin Author

    Posted 4 months ago #

    You don't need a template for this. You can write something like this when editing your page/post (in the "Text" text-editor):

    <table>
      <tr>
        <td>
        [catlist id=3 numberposts=5 excludeposts=this]
        </td>
        <td>
        [catlist id=3 numberposts=5 excludeposts=this offset=5]
        </td>
      </tr>
    </table>

    The offset should equal the number of posts (numberposts) times the number of columns - 1. So if you had a third column, the code would look like this:

    <table>
      <tr>
        <td>
        [catlist id=3 numberposts=5 excludeposts=this]
        </td>
        <td>
        [catlist id=3 numberposts=5 excludeposts=this offset=5]
        </td>
        <td>
        [catlist id=3 numberposts=5 excludeposts=this offset=10]
        </td>
      </tr>
    </table>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.