Skip Navigation

[Resolved] Help with taxonomy slug

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

Problem:

I am trying to link to a different taxonomy using the current taxonomy slug.

The problem I have is on pagination the taxonomy slug is not returning the original category taxonomy thus breaking the linking pattern.

Solution:

In the taxonomy archive page, you can use [wpv-taxonomy-archive] shortcode to get current archive page information, see our document:

Relevant Documentation:

https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-taxonomy-archive

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

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by adrian-mihaiN 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2106569

Tell us what you are trying to do?

I am trying to link to a different taxonomy using the current taxonomy slug.

Example hidden link see the link to the taxonomy /free in the category description.

I've set it using this HTML code: hidden link

The problem I have is on pagination the taxonomy slug is not returning the original category taxonomy thus breaking the linking pattern. Example page hidden link

Is there a good workaround for this? The linking should be to toolset-category-name/free without adding pagination.

Login details:

hidden link
toolset
3@laIZm7HiGcfmR8XN^g@diO

Thank you.

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No

#2106571

A simple workaround that would also improve usability is if we get rid of those pages however when I go for this settings:

hidden link

I can't seem to find a way to disable the automatic rotation.

If I go for Manual transition the pagination shows in the URLs.

What do you advise?

#2107225

Hello,

In the taxonomy archive page, you can use [wpv-taxonomy-archive] shortcode to get current archive page information, see our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-taxonomy-archive

I have done below modifications in your website:
Edit term:
hidden link
Add a custom HTML block with below codes:

Find the best online [wpv-taxonomy-archive info="name"] for you. The courses are sorted based on popularity and user ratings. We do not allow paid placements in any of our rankings. We also have a separate page listing only the <a href="<em><u>hidden link</u></em> info='slug']/free">Free [wpv-taxonomy-archive info="name"]</a>.

Please test again, check if it is what you want.

#2107317

Yes, that fixes the link. Thank you, the site is almost done.

Now to fully resolve this I need any page that is not page 1 in the archive to become noindex and nofollow.

I've noticed that every big site that does something similar paginates using parameters to easily implement this:

hidden link >>> hidden link

hidden link >>> hidden link

What is the way to do this in Toolset?

Is it possible to do pagination using parameters?

Simply adding <meta name="robots" content="noindex, nofollow" /> to Page 2 onwards will fix it.

Your Ajax automatic loading for pagination I see it also doesn't create pagination but it does automatic transition which is not good for my case.

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/is-it-possible-to-do-pagination-using-parameters/

#2107325

I assume the original question of this thread is resolved, according to our support policy, we prefer one ticket one question:
https://toolset.com/toolset-support-policy/
for other new questions, please check the new thread here:
https://toolset.com/forums/topic/is-it-possible-to-do-pagination-using-parameters/

#2107329

My issue is resolved now. Thank you!