Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7798067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:53:21+00:00 2026-06-01T23:53:21+00:00

I am currently building a site with Expression Engine. I have just put some

  • 0

I am currently building a site with Expression Engine.

I have just put some pagination on my news pages. This works perfectly. However the pagination appears on the entry pages and I do not want it to.

I tried

{if segment_3 == “”}
{paginate}
Page {current_page} of {total_pages} {pagination_links}

{/paginate}
{/if}

which removed it from the entry page… however this also removed it from all of the list pages… as P1/P2 etc will appear as segment_3..

any ideas?

Cheers
Dave

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:53:23+00:00Added an answer on June 1, 2026 at 11:53 pm

    Grab the Switchee plugin, then do this:

    {exp:switchee variable="{segment_3}" parse="inward"}
    {case value="#^P(\\d+)$#|''"}
        {paginate} Page {current_page} of {total_pages} {pagination_links}{/paginate}
    {/case}
    {/exp:switchee}
    

    Although generally I’d suggest using separate templates for your entry list and single entry views. It’s more keeping with how EE was designed, and will cause fewer problems down the road for you if you want to add things like category filtering, or filtering via third-party data (like tags, etc). You can use snippets to avoid duplicating Channel Entries “loop” code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this selectbox on a site Im currently building and what I want
I am currently building a site and all the books I have read on
I am currently building a web site and I just implemented SqlCacheDependency using LinqToSQL
I have a login form on a site I am currently building, and I
I am currently building an ecommerce site with PHP/MySQL. Recently, I have been working
I'm programming a spider that should have realistic movement. Currently I'm using this site
Currently building a site in ASP.NET MVC and have to integrate another site within
I'm currently building out a Drupal site that is an aggregate of local housing
I'm currently building a little CMS for a smaller site. Now I want to
I am currently building a user admin area for my site that would require

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.