Use variable from URL in Call to Action button


i am working in Network marketing (with hundreds of Partners) and most of them partners would like to use my Landingpage for promoting the business.
Since setting up a seperate Wordpress install for every Partner (to set his Reflink into CTA Button) it would blow up my Webspace capabilities.

So i need an option to read a variable from URL like:
and add it to the Callt to action button URL like: while Username is the var.

So every partner just needs to add his username in the url and the call to action button points to the personalized Companypage of this partner.
I am searching for weeks now on google to find a solution.
Since i have no coding abilities i am stuck.

Any Idea how i can manage this?

Hello there,

Have you been able to supply the URL of your choice through the “Link for the button” input field while you are editing “Perth FP: Call to action” widget?

We can’t provide you with the working code to display specific content associated with the variable which is called from the current URL because it is beyond our support service. Sorry :frowning: I’d kindly recommend you hire a freelancer at or

Thank you for your understanding.


Thank you.

I already have been provided with a code in the past for one special Homepage and it worked fine.
As i tried to use it on other websites with Perth Pro or Sydney pro i constantly get this error:

Not Acceptable

An appropriate representation of the requested resource /wp-admin/themes.php could not be found on this server.

Additionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request.

Here is the code, maybe you find a little error and can help me within support service.

i tried to use it in Text Wigdet (footer and content) and within tc custom js plugin