Site logo

Archived topic

Remove next/previous post links completely

5 replies · Started by _blank on July 5, 2020

Viewing posts 1–6 of 6

Hello,

When I insert this code "Remove next/previous post links completely" in code snippets, it tells me

The code snippet has been disabled due to an error on line 6: Cannot redeclare function generate_content_nav.

In fact i'm looking to delete next/previous on blog/archive pagination.

Thanks 🙂

Hi there,

do you want to remove all the pagination ? or only the Next / Previous links?

Hello David,

Only the Next / Previous links on blog / archive pagination and leave the page numbers.If you have a solution without display: none otherwise it is not very important, I just find that it is not very relevant to pagination.

Using CSS display: none is the easiest option for sure.

Hello, please, insert a page break in the blog, to generate several pages, and in the web page the pages do not pass, it only stays on the first page. example, if I am on page 1, and I want to go to page 2, I cannot do it, it stays on page 1. it is blocked,

Can you open a new topic for your question?

Thanks :)

This archived topic is closed to new replies.