Passing URL Parameters to all internal links. Or Persistent URL Variables
-
I have a Webiste running wordpress: webiste.com
Now I want to add a custom parameter to it: website.com?custom=param1
I want this parameter to be persistent throughout the entire WordPress navigation, meaning:
https://www.website.com?custom=param1
click on blog post #1
https://www.website.com/category/blogpost1?custom=param1
click back on homepage
https://www.website.com?custom=param1
click on page #2
https://www.ebsite.com/category/page2?custom=param1
and so on until it’s changed.I am pretty new to WordPress, I read a lot but I didn’t find this exact case. I tried adding add_query_vars_filter but it dosen’t make the parameter persistent throughout the blog. I would appreciate some help, articles, code snippets, plugins ??
Thanks
- The topic ‘Passing URL Parameters to all internal links. Or Persistent URL Variables’ is closed to new replies.