0

Im trying to add pagination to my Search results page. Each time i do a search for a product that has a lot of results they are all appearing on the one page. Can anyone help me?

<div class="container btm_pg_padding">
    <div class="twelve columns margin-top">
        <header>
            <p>{exp:search:total_results} Result(s) for "{exp:search:keywords}"</p>
        </header> 
        {exp:search:search_results results="10" paginate="bottom"}

            <h2><a href="{page_url}">{title} - <span class="channel_name">({channel})</span></a></h2>

            {sn:global_pagination}
        {/exp:search:search_results}
        {sn:global_sidebar}
1

The results parameter needs to go on your search form, not the results.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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