Passer la navigation

[Résolu] Help with taxonomy slug

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 4 years, 11 months. 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 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par adrian-mihaiN Il y a 4 years, 11 months.

Assisté par: Luo Yang.

Auteur
Publications
#2106569

Tell us what you are trying to do?

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

Example lien caché see the link to the taxonomy /free in the category description.

I've set it using this HTML code: lien caché

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

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

Login details:

lien caché
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:

lien caché

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:
lien caché
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 <em><u>lien caché</u></em>.

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:

lien caché >>> lien caché

lien caché >>> lien caché

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.

Les nouveaux fils créés par Luo Yang et associés à celui-ci sont repris ci-dessous :

https://toolset.com/fr/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!