Skip Navigation

[Resolved] How to remove the duplicate pagination from Archives?

This thread is resolved. Here is a description of the problem and solution.

Problem:

Remove duplicate navigation on archive page.

Solution:

The simplest solution to this is that it can be hidden using css.

Try this below.

#nav-below{
  display: none;
}

Where #nav-below is the class of the navigation.

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 8.63 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 3 voices.

Last updated by liatG 6 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#604933
001.JPG

Hi,
I followed this documentation (option 2) to have a custom search in my "years archive pages":
https://toolset.com/documentation/user-guides/front-page-filters/#custom-search-archive

It worked well, however I can see 2 types of paginations...

please check these links:
hidden link
hidden link

I know that the Bootstrap pagination comes from the pagination I inserted in the Loop wizard. however, when I remove it, I am still left with the unformatted pagination that does not shrink if I used the dropdown lists to narrow the search.

(i.e. if I chose a certain category of tag that has only 1 post, the "1 2 3 Next → " still shows.

Also, in the screen option of the Years Archive, the "pagination" option is ticked and greyed out (please check the attached screenshot).

So how to remove the unformatted pagination and leave the interactive bootstrap pagination?

thanks

#605157

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thank you for contacting our support forum.

I suspect that this is being caused by the archive.php template file for the theme.

What you need to do is to edit the file and remove the pagination code from the template file.

Please let me know if this helps.
Thanks,
Shane

#605173

Hi Shane,
thanks for the reply.

However, the theme is not the problem. I tried the view using the following themes:
- Generate Press
- Generate Press Child
- Divi
- Extra
- Avada
- Twentyseventeen
- OceanWP

All seven themes give the same symptoms!!

I checked the archive.php of the main GeneratePress theme, and it does not have pagination code, neither does the content.php.

The point is: if there is an option in Toolset Views plugin suite that conflicts with all these themes, then definitely there is a problem in the Views plugin.

I also referred to the fact that the "pagination" is ticked by default and greyed out in the Views plugin, which, in my opinion, might be the cause of duplication.

can you please investigate this problem more and advise a solution? I am pretty sure that others who tried to use the same option faced the same problem.

thanks

#605213

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

Thanks for the clarity.

I can investigate this further for you. Would you mind providing me with admin access ?
The private fields will be enabled for your next response.
Thanks,
Shane

#605460

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I was able to have a look at this for you.

I've added this to your site to remove the pagination in order to not edit any of the theme's code.

#nav-below{
  display: none;
}

Please let me know if this helps.
Thanks,
Shane

#950571

Hi, I just wanted to add that I solved this problem without CSS by going to the Theme Options panel in the layout for my Archives page. Under "Disable Elements" I set - Pagination to "disable" and Archive Title to "disable." Voila!

I'm just posting this here because I couldn't find this answer anywhere, and some other noob like me might be looking for the easiest, most up-to-date solution. Thanks Toolset for adding this option for non-coders!

Liat