WordPress.org

Forums

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

  1. stephane LP
    Member
    Posted 1 year 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 1 year 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>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • List category posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.