ho to retain a custom taxonomy in the permalink for the whole navigation
-
Hi,
I would like to ask help as I have a problem that is going to make me crazy!1)I have a site with wpml
2)I use permalinks
3)I have to discriminate content based on language and country (that is a custom taxonomy named “country”)My problem is that with wpml I can swap between languages… but I am not able to retain the country information in every link on my site.
as example see:
page1: https://mysite.com/es/spain/prettytitle1
page2: https://mysite.com/es/brasil/prettytitle2I can swap from the two link by a “select” in a form.
What I would like to have is:
When I navigate in the page1 I would like to see all the links inside the html pointing ad https://mysite.com/es/spain/* … so that I can ever visit the site using “spain” as a country filter
When I navigate in the page2 I would like to see all the links inside the html pointing ad https://mysite.com/es/brasil/* … so that I can ever visit the site using “brasil” as a country filter
How can I reach this goal? I tried with many snippet of code, but none of them has worked. I have no problems to add more infos on the url…
Really many many thanks!
- The topic ‘ho to retain a custom taxonomy in the permalink for the whole navigation’ is closed to new replies.