Add a Slug to dropdown menu
Question
I’ve created a multi-region site with the multisite feature on WordPress, and have created a dropdown menu for the multi-site. My question is: is it possible to create a dropdown menu that can add a slug dynamically for each page on my website?
For Example:
- My current page is www.mywebsite.com/about-us (this is the main site);
- and I want to change it to my second site by clicking the dropdown menu. And the URL will become: www.mywebsite.com/europe/about-us;
- Also I want it can be implemented into my blog post as well. For example, from www.mywebsite.com/blog/2020/11/lorem-ipsum to www.mywebsite.com/europe/blog/2020/11/lorem-ipsum
if it’s possible, do you guys know how to do that?
Thanks.
0
2 months
0 Answers
12 views
0
Leave an answer
You must login or register to add a new answer .