Skip Navigation

[Resolved] Remove previous / next link

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

Problem:
Remove previous / next pagination link

Solution:
To hide the navigation pagination links, you will have to use the custom CSS code.

You can find proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/remove-previous-next-link/#post-2226945

Relevant Documentation:

This support ticket is created 3 years 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.

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by ilonaB-2 3 years ago.

Assisted by: Minesh.

Author
Posts
#2226763
previous-next.png

Hello,

When using the searchbar on the site and selecting one of the searchresults a visitor goes to the profile page.
This is a custom template. At the bottom of the page there are 2 links:
- precious
- next
I don't want this option on the page, but so far haven't been able to remove it or find the location where to do this.

Could someone please help me out?

Thanks in advance

#2226857

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As you confirm that you are using custom template - when you say that - do you mean that you are using the content template created using Toolset views/blocks?

The prev/next link must be coming from your theme and to hide that either you will have to create/edit PHP template file from your theme that displays those prev/next links or we can hide it by adding custom CSS.

Can you please share problem URL and admin access details so I can review your current setup and guide you accordingly.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2226945

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As there is no such feature available with Toolset using which you can control the navigation links of your single post.

I've added the following custom CSS code to the content template's CSS box to hide the navigation links:
=> hidden link

.single-specialist .post-navigation { 
display:none;
}

Can you please confirm it works as expected.

#2226957

Hi Minesh,

It works perfect as we were hoping for, thank you for taking the time to do this. It is much appreciated!

My issue is resolved now. Thank you!