Still new to EE, and am quickly losing my hair trying to get a blog going, and getting it paginated correctly.

The problem I'm having is that the pagination links move in increments of 6, /news/P6, /news/12 etc....

I've tried removing all the code except for the Title and the "Read More..." link, and pagination still has the same issue.

* EDIT *

I'm also looking to have only 6 entries per page, so that the next page will have the next six entries etc... 6 entries are currently showing on the /news page - which is good. The site has something like 40 entries, but I just want to paginate so only six entries show at a time.

* /EDIT *

Any help would be appreciated!

Here is my code:

<ul class="news">
                {exp:channel:entries channel="news" limit="6" dynamic="no" orderby="date" sort="desc" paginate="bottom"}

                      <p id="pagination">Page {current_page} of {total_pages} pages {pagination_links}</p>

                                <div class="pic">
                                    {if image !=""}<a href="{url_title_path='news'}"><img src="{image}" alt="{title}" /></a>{/if}
                                <div class="details">
                                    <p>{if "{content:has_excerpt}"}{content:excerpt}{if:else}{content}{/if} 
                                    {if video_embed != ""}{video_embed}{/if}
                                     {if slideshow} 
                                    {slideshow limit="10"}<a href="{comment_url_title_auto_path}" style="float:left;">{exp:ce_img:pair src="{url}" max="100" crop="yes"}<img src="{made}" alt="{title}" />{/exp:ce_img:pair}</a>{/slideshow}
                                    <a href="{comment_url_title_auto_path}" style="clear:all;">Read More...</a>


2 Answers 2


The code you posted is correct for what you're wanting to achieve.

{exp:channel:entries channel="news" limit="6" dynamic="no" orderby="date" sort="desc" paginate="bottom"}

This code will get you 6 entries per pagination page and your pagination URLs will increment by 6 because you have limit="6" set. If you change that to limit="10", you still see 10 entries per page and URLs that increment by 10.

  • If you are having an issue with 6 entries NOT showing then something else is wrong in your code. Add more details to your question and we can try to help.
    – Anna_MediaGirl
    Dec 19, 2013 at 17:34
  • Hi Anna, thanks for your suggestion. I've edited my question, perhaps my lack of knowledge is getting in the way! I have 6 entries (out of approx. 40) showing on the /news page... I'm looking to show only 6 at a time, and have the pagination navigate to the next page of entries etc...
    – alexwc_
    Dec 19, 2013 at 17:43
  • Again, the code you posted is correct for what you want to do... What isn't working exactly??
    – Anna_MediaGirl
    Dec 19, 2013 at 18:05
  • ARGH... I don't know what happened... it's all working now. I have dynamic="yes" and limit="6". Thanks for your patience with a noob like myself.
    – alexwc_
    Dec 19, 2013 at 18:15
  • Does it break when you change dynamic="yes" to dynamic="no"?
    – Anna_MediaGirl
    Dec 19, 2013 at 18:21

You have a limit="6" so your paginated urls will be in increments of 6. What you have working correctly.

The P6 in the url is basically an offset count so EE knows which entry in the count/order to begin with. P6 will start with entry 7 in your determined order.

  • Ah, I see. So then how do I get only 6 entries to show per page?
    – alexwc_
    Dec 19, 2013 at 17:17
  • Change no to dynamic="no" to dynamic="yes" Dec 19, 2013 at 17:27
  • 1
    You don't have to change to dynamic="no" to dynamic="yes" here. When you have dynamic="no" set on the channel:entries tag AND you have the paginate="" parameter set, EE will act dynamically for pagination data only.
    – Anna_MediaGirl
    Dec 19, 2013 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.