We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8416
    • 173 Posts
    Hello,
    I have defined an archive to get blogs by month as:

    [!Reflect? config=`wordpress` &id=`wp` &dittoSnippetParameters=`startID:2` &targetID=`178` &getDocuments=`1` &groupByYears=`0` &showItems=`0` &monthSortDir=`DESC` &tplMonth=`reflect_month_tpl` !]

    In my landing page, I defined a ditto to display the blogs by block of seven:

    [!Ditto? &id=`wp` &extenders=`dateFilter` &paginateAlwaysShowLinks=`1` &display=`7` &parents=`2` &paginate=`1` &tpl=`ditto_blog` &tagData=`BlogTags` &tagDelimiter=`,` !]
    [+previous+] [+pages+] [+next+]

    I only get one page of 7 each time. Does anyone know why?

    Thanks for your help.

    Eric

      • 4310
      • 2,310 Posts
      Isn’t
      &display=`7`
      setting the total limit of articles rather than the number per page?
        • 8416
        • 173 Posts
        If pagination is off, then the &display parameter sets the maximum number of documents that Ditto may include in the output list.

        If pagination is on, then this parameter specifies the number of documents to display on each "page".

        I have &paginate=`1` set to on... It should work but it doesn’t.....
          • 8416
          • 173 Posts
          fyi -

          I got it to work. I had to specify wp_ in the following using the same ditto.

          [+wp_previous+] [+wp_pages+] [+wp_next+]

          Eric